Commit 191d6034ad327ad6a32782384fe532db9ffe788e

Authored by Matti Virkkunen
1 parent 348be4bd

Removed unused defines.

constants.hpp
... ... @@ -14,3 +14,5 @@
14 14  
15 15 #define LINE_USER_AGENT "purple-line (LINE for libpurple/Pidgin)"
16 16 #define LINE_APPLICATION "DESKTOPWIN\t3.2.1.83\tWINDOWS\t5.1.2600-XP-x64"
  17 +
  18 +#define LINE_ACCOUNT_CERTIFICATE "line-certificate"
... ...
pinverifier.hpp
... ... @@ -7,13 +7,6 @@
7 7 #include <plugin.h>
8 8 #include <prpl.h>
9 9  
10   -#include "thriftclient.hpp"
11   -#include "poller.hpp"
12   -
13   -#define LINEPRPL_ID "prpl-mvirkkunen-line"
14   -
15   -#define LINE_ACCOUNT_CERTIFICATE "line-certificate"
16   -
17 10 class PurpleLine;
18 11  
19 12 class PINVerifier {
... ...
poller.hpp
... ... @@ -9,10 +9,6 @@
9 9  
10 10 #include "thriftclient.hpp"
11 11  
12   -#define LINEPRPL_ID "prpl-mvirkkunen-line"
13   -
14   -#define LINE_ACCOUNT_CERTIFICATE "line-certificate"
15   -
16 12 class PurpleLine;
17 13  
18 14 class Poller {
... ...
purpleline.cpp
... ... @@ -20,8 +20,6 @@
20 20 #include "purpleline.hpp"
21 21 #include "wrapper.hpp"
22 22  
23   -#define LINE_ACCOUNT_CERTIFICATE "line-certificate"
24   -
25 23 std::string PurpleLine::markup_escape(std::string const &text) {
26 24 gchar *escaped = purple_markup_escape_text(text.c_str(), text.size());
27 25 std::string result(escaped);
... ...
purpleline_login.cpp
1 1 #include "purpleline.hpp"
2 2  
3   -
4 3 void PurpleLine::login_start() {
5 4 purple_connection_set_state(conn, PURPLE_CONNECTING);
6 5 purple_connection_update_progress(conn, "Logging in", 0, 3);
... ...