diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-29 12:54:59 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-29 12:54:59 +0300 |
commit | 1eb15995edb840fb9823d9e8a0c1ca381c174141 (patch) | |
tree | b859b00a3e4521679b5c9f533f9b1823b0d9617e /plugins/ExternalAPI | |
parent | fdc92c8ba80ac410b2c03226d1a60365faf17745 (diff) |
unused code cleaned
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_statusplugins.h | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/ExternalAPI/m_statusplugins.h b/plugins/ExternalAPI/m_statusplugins.h index a13fb31c44..85e2ab1b84 100644 --- a/plugins/ExternalAPI/m_statusplugins.h +++ b/plugins/ExternalAPI/m_statusplugins.h @@ -66,32 +66,6 @@ typedef struct { // returns 0 on success
#define MS_SS_GETPROFILENAME "StartupStatus/GetProfileName"
-// -- AdvancedAutoAway --
-typedef enum {
- ACTIVE, // user is active
- STATUS1_SET, // first status change happened
- STATUS2_SET, // second status change happened
- SET_ORGSTATUS, // user was active again, original status will be restored
- HIDDEN_ACTIVE // user is active, but this is not shown to the outside world
-} STATES;
-
-typedef struct {
- PROTOCOLSETTINGEX* protocolSetting;
- int originalStatusMode; // this is set only when going from ACTIVE to STATUS1_SET (or to STATUS2_SET)
- // (note: this is therefore not always valid)
- STATES
- oldState, // state before the call
- curState; // current state
- BOOL bStatusChanged; // the status of the protocol will actually be changed
- // (note: unlike the name suggests, the status is changed AFTER this hook is called)
- BOOL bManual; // state changed becuase status was changed manually
-} AUTOAWAYSETTING;
-// wParam = 0;
-// lParam = AUTOAWAYSETTING*
-// Called when a protocol's state in AAA is changed this does NOT necessary means the status was changed
-// note: this hook is called for each protocol seperately
-#define ME_AAA_STATECHANGED "AdvancedAutoAway/StateChanged"
-
// -- KeepStatus --
#define KS_CONN_STATE_LOST 1 // lParam = protocol
|