123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- #ifndef __THE_CLOUD_DEF_20160612__
- #define __THE_CLOUD_DEF_20160612__
- #include <string>
- #include <vector>
- using namespace std;
- #ifndef _UNICODE
- typedef string TString;
- #else
- typedef wstring TString;
- #endif
- typedef vector<TString> STR_VEC;
- #include <strsafe.h>
- typedef struct ST_StudioInfo
- {
- TString strVersion;
- TString strStudioName;
- TString strStudioTelNo;
- TString strStudioAddr;
- TString strStudioSite;
- TCHAR szbakServer1[MAX_PATH];
- TCHAR szbakServer2[MAX_PATH];
- TCHAR szbakServer3[MAX_PATH];
- TCHAR szbakServer4[MAX_PATH];
- TCHAR szbakServer5[MAX_PATH];
- ST_StudioInfo(){
- strVersion = _T("00000");
- }
- ST_StudioInfo(const ST_StudioInfo &another)
- {
- strVersion = another.strVersion;
- strStudioName = another.strStudioName;
- strStudioTelNo = another.strStudioTelNo;
- strStudioAddr = another.strStudioAddr;
- strStudioSite = another.strStudioSite;
- }
- ST_StudioInfo& operator=(const ST_StudioInfo &another)
- {
- if ( this == &another)
- {
- return *this;
- }
- strVersion = another.strVersion;
- strStudioName = another.strStudioName;
- strStudioTelNo = another.strStudioTelNo;
- strStudioAddr = another.strStudioAddr;
- strStudioSite = another.strStudioSite;
- return *this;
- }
-
- }StudioInfo,*pStudioInfo;
- typedef struct _branchinfo_
- {
- TString strBranchId;
- TString strBranchName;
- TString strBranchIP;
- TString strHomeOffice;
- TString strEnterprise;
- }STBranchInfo, *pSTBranchInfo;
- enum
- {
- ZoomNull = 0,
- ZoomIn = 1,
- ZoomOut = 2
- };
- enum
- {
- OImgtype = 1,
- EImgtype = 2,
- FImgtype = 3,
- DImgtype = 4,
- OBImgtype = 5,
- EBImgtype = 6,
- FBImgtype = 7,
- DBImgtype = 8
- };
- enum
- {
- IMG_IMPORT = 0,
- IMG_EXPORT = 1
- };
- enum
- {
- COPY_IF_EXISTS = 1,
- COPY_FAIL_IF_EXISTS = 2,
- COPY_OTHER_NAME_IF_EXISTS = 3
- };
- #define MIN_CAPACITY 5
- #define MAX_CAPACITY 10
- #define OImgpath _T("客户原片(管理软件)$")
- #define EImgpath _T("修好的片(管理软件)$")
- #define FImgpath _T("精修好的片(管理软件)$")
- #define DImgpath _T("设计好的片(管理软件)$")
- #define OBImgpath _T("客户原片备份(管理软件)$")
- #define EBImgpath _T("修好的片备份(管理软件)$")
- #define FBImgpath _T("精修好的片备份(管理软件)$")
- #define DBImgpath _T("设计好的片备份(管理软件)$")
- #define COBImgpath _T("客户原片备份(儿童管理软件)$")
- #define CEBImgpath _T("修好的片备份(儿童管理软件)$")
- #define CFBImgpath _T("精修好的片备份(儿童管理软件)$")
- #define CDBImgpath _T("设计好的片备份(儿童管理软件)$")
- #define GET_XPIX(x) ( x >> 16)
- #define GET_YPIX(y) (y & 0x0000ffff)
- #define SET_PIX(x,y) (( x << 16) | y)
- #define INVALID_COPY_PIX ((DWORD)-1)
- #endif
|