Home | History | Annotate | Download | only in Common
      1 // Common/MyTypes.h
      2 
      3 #ifndef __COMMON_MY_TYPES_H
      4 #define __COMMON_MY_TYPES_H
      5 
      6 #include "../../C/7zTypes.h"
      7 
      8 typedef int HRes;
      9 
     10 struct CBoolPair
     11 {
     12   bool Val;
     13   bool Def;
     14 
     15   CBoolPair(): Val(false), Def(false) {}
     16 
     17   void Init()
     18   {
     19     Val = false;
     20     Def = false;
     21   }
     22 
     23   void SetTrueTrue()
     24   {
     25     Val = true;
     26     Def = true;
     27   }
     28 };
     29 
     30 #endif
     31