diff options
author | George Hazan <george.hazan@gmail.com> | 2023-10-25 15:39:57 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-10-25 15:39:57 +0300 |
commit | 518515b5ceb6420e9f447573c9b0d918e589f599 (patch) | |
tree | c184b6a9995b84c01fca20a65d894e5213296c02 /protocols/YAMN/src/protoplugin.h | |
parent | b92ba71196f421eb63f07ee1ed3225ea5c499785 (diff) |
name conflict resolution
Diffstat (limited to 'protocols/YAMN/src/protoplugin.h')
-rw-r--r-- | protocols/YAMN/src/protoplugin.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/protocols/YAMN/src/protoplugin.h b/protocols/YAMN/src/protoplugin.h index f909ed65f0..741c5a5022 100644 --- a/protocols/YAMN/src/protoplugin.h +++ b/protocols/YAMN/src/protoplugin.h @@ -8,18 +8,13 @@ // structure is used to give parameters to Check, Synchro or Timeout function struct CheckParam { - CheckParam(CAccount *_1, int _2) : + CheckParam(CAccount *_1, bool _2) : AccountParam(_1), - Flags(_2) + bParam(_2) {} - // ActualAccount- the only parameter used in Check function and should contain all needed information I think :) CAccount *AccountParam; - - // I thought it, but this is needed, too - #define YAMN_NORMALCHECK 0 - #define YAMN_FORCECHECK 1 - int Flags; + bool bParam; }; // structure is used to give parameters to DeleteMails function |