summaryrefslogtreecommitdiff
path: root/protocols/YAMN/src/protoplugin.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-10-25 15:39:57 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-10-25 15:39:57 +0300
commit518515b5ceb6420e9f447573c9b0d918e589f599 (patch)
treec184b6a9995b84c01fca20a65d894e5213296c02 /protocols/YAMN/src/protoplugin.h
parentb92ba71196f421eb63f07ee1ed3225ea5c499785 (diff)
name conflict resolution
Diffstat (limited to 'protocols/YAMN/src/protoplugin.h')
-rw-r--r--protocols/YAMN/src/protoplugin.h11
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