diff options
Diffstat (limited to 'plugins/StatusManager/src/commonstatus.h')
-rw-r--r-- | plugins/StatusManager/src/commonstatus.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/plugins/StatusManager/src/commonstatus.h b/plugins/StatusManager/src/commonstatus.h index 54e64f003c..488d28bfb6 100644 --- a/plugins/StatusManager/src/commonstatus.h +++ b/plugins/StatusManager/src/commonstatus.h @@ -101,6 +101,7 @@ typedef enum struct SMProto : public PROTOCOLSETTINGEX, public MZeroedObject { SMProto(PROTOACCOUNT *pa); + SMProto(const SMProto&); ~SMProto(); // AdvancedAutoAway settings @@ -125,7 +126,12 @@ struct SMProto : public PROTOCOLSETTINGEX, public MZeroedObject int lastStatusAckTime; // the time the last status ack was received }; -typedef OBJLIST<SMProto> TProtoSettings; +struct TProtoSettings : public OBJLIST<SMProto> +{ + TProtoSettings(); + TProtoSettings(const TProtoSettings&); +}; + extern TProtoSettings protoList; int CompareProtoSettings(const SMProto *p1, const SMProto *p2); |