diff options
Diffstat (limited to 'CPP/Common/MyTypes.h')
-rw-r--r-- | CPP/Common/MyTypes.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/CPP/Common/MyTypes.h b/CPP/Common/MyTypes.h new file mode 100644 index 0000000..f49739c --- /dev/null +++ b/CPP/Common/MyTypes.h @@ -0,0 +1,30 @@ +// Common/MyTypes.h
+
+#ifndef __COMMON_MY_TYPES_H
+#define __COMMON_MY_TYPES_H
+
+#include "../../C/7zTypes.h"
+
+typedef int HRes;
+
+struct CBoolPair
+{
+ bool Val;
+ bool Def;
+
+ CBoolPair(): Val(false), Def(false) {}
+
+ void Init()
+ {
+ Val = false;
+ Def = false;
+ }
+
+ void SetTrueTrue()
+ {
+ Val = true;
+ Def = true;
+ }
+};
+
+#endif
|