123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435 |
- namespace Imgkernel
- {
- // 虚拟接口类;
- interface ImgEnvInterface
- {
- public:
- virtual BOOL InitializeEnvironment(IN LPCTSTR lpBranchId, IN IMGSHARE_VEC* pvtImgShareInfo) = 0;
-
- virtual void AppendLocalSharepath(IMGSHARE_VEC *pvtImgShareInfo) = 0;
-
- virtual BOOL GetLocalSharedirectory(
- IN CONST INT &nImgType,
- OUT LPTSTR lpResultSharedirectory,
- IN CONST INT &nBufSize
- ) = 0;
-
-
- virtual BOOL GetLocalEnableShareDirectory(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- OUT LPTSTR lpEnableShareDirectory,
- IN CONST INT &nBufSize
- ) = 0;
-
- virtual BOOL GetEnableShareDirectory(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- OUT LPTSTR lpEnableShareDirectory,
- IN CONST INT &nBufSize
- ) = 0;
-
-
-
- virtual BOOL GetOrderAllShareDirectory(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- OUT CStringArray& AryOfOrderAllShareDirectory
- ) = 0;
- virtual BOOL GetOrderAllShareDirectory(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- OUT STR_VEC& AryOfOrderAllShareDirectory
- ) = 0;
-
-
- virtual BOOL GetSceneryAllShareDirectory(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpScenery,
- OUT CStringArray &AryOfSceneryAllShareDirectory
- ) = 0;
- virtual BOOL GetSceneryAllShareDirectory(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpScenery,
- OUT STR_VEC &AryOfSceneryAllShareDirectory
- ) = 0;
- };
- interface ImgCopyInterface
- {
- public:
- virtual INT CopyImg2Specifiedpath(
- IN LPCTSTR lpExistpath,
- IN LPCTSTR lpSpecifiedpath,
- IN LPCTSTR lpCopyExt,
- IN CONST DWORD &dwCopyPix,
- IN BOOL bOriginalCopy,
- IN BOOL bFailIfExists
- ) = 0;
- virtual INT CopyImg2Specifiedpath(
- IN CStringArray& AryOfSelectedImg,
- IN LPCTSTR lpSpecifiedpath,
- IN LPCTSTR lpWithExt,
- IN CONST DWORD &dwCopyPix,
- IN BOOL bCopyBySubpath,
- IN LPCTSTR lpSeparator,
- IN BOOL bFailIfExists
- ) = 0;
- virtual INT CopyImg2Specifiedpath(
- IN STR_VEC& AryOfSelectedImg,
- IN LPCTSTR lpSpecifiedpath,
- IN LPCTSTR lpWithExt,
- IN CONST DWORD &dwCopyPix,
- IN BOOL bCopyBySubpath,
- IN LPCTSTR lpSeparator,
- IN BOOL bFailIfExists
- ) = 0;
- virtual INT CopyImg2Specifiedpath(
- IN CStringArray& AryOfExistImages,
- IN CStringArray& AryOfNewImages,
- IN CONST DWORD &dwCopyPix,
- IN LPCTSTR lpWithExt,
- IN BOOL bFailIfExists
- ) = 0;
- virtual INT CopyImg2Specifiedpath(
- IN STR_VEC& AryOfExistImages,
- IN STR_VEC& AryOfNewImages,
- IN CONST DWORD &dwCopyPix,
- IN LPCTSTR lpWithExt,
- IN BOOL bFailIfExists
- ) = 0;
-
-
- virtual INT CopyImg2Specifiedpath_ex(
- IN LPCTSTR lpExistpath,
- IN LPCTSTR lpSpecifiedpath,
- IN LPCTSTR lpCopyExt,
- IN LPCTSTR lpWithExt,
- IN CONST DWORD &dwCopyPix,
- IN BOOL bOriginalCopy,
- IN BOOL bFailIfExists
- ) = 0;
- };
- interface ImgLoadInterface
- {
- public:
-
- virtual BOOL LoadSpecifiedpathImages(
- IN LPCTSTR lpSepcifiedpath,
- IN LPCTSTR lpLoadExt,
- OUT CStringArray &AryOfSpecifiedpathImages
- ) = 0;
- virtual BOOL LoadSpecifiedpathImages(
- IN LPCTSTR lpSepcifiedpath,
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC &AryOfSpecifiedpathImages
- ) = 0;
-
- virtual BOOL LoadSelectedIamgesFromSpecifiedpath(
- IN LPCTSTR lpSepcifiedpath,
- IN LPCTSTR lpLoadExt,
- IN CStringArray &AryOfSelectedIamges,
- OUT CStringArray &AryOfNoExistIamges,
- OUT CStringArray &AryOfSelectedImagepaths
- ) = 0;
- virtual BOOL LoadSelectedIamgesFromSpecifiedpath(
- IN LPCTSTR lpSepcifiedpath,
- IN LPCTSTR lpLoadExt,
- IN STR_VEC &AryOfSelectedIamges,
- OUT STR_VEC &AryOfNoExistIamges,
- OUT STR_VEC &AryOfSelectedImagepaths
- ) = 0;
-
- virtual BOOL LoadSelectedIamges(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpLoadExt,
- IN CStringArray &AryOfSelectedIamges,
- OUT CStringArray &AryOfNoExistIamges,
- OUT CStringArray &AryOfSelectedImagepaths
- ) = 0;
- virtual BOOL LoadSelectedIamges(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpLoadExt,
- IN STR_VEC &AryOfSelectedIamges,
- OUT STR_VEC &AryOfNoExistIamges,
- OUT STR_VEC &AryOfSelectedImagepaths
- ) = 0;
-
- virtual BOOL LoadSelectedIamges2(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpLoadExt,
- IN CStringArray &AryOfSelectedIamges,
- OUT CStringArray &AryOfNoExistIamges,
- OUT CStringArray &AryOfSelectedImagepaths
- ) = 0;
- virtual BOOL LoadSelectedIamges2(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpLoadExt,
- IN STR_VEC &AryOfSelectedIamges,
- OUT STR_VEC &AryOfNoExistIamges,
- OUT STR_VEC &AryOfSelectedImagepaths
- ) = 0;
-
- virtual BOOL LoadSelectedIamgesInOrder(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpLoadExt,
- IN CStringArray &AryOfSelectedIamges,
- OUT CStringArray &AryOfNoExistIamges,
- OUT CStringArray &AryOfSelectedImagepaths
- ) = 0;
- virtual BOOL LoadSelectedIamgesInOrder(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpLoadExt,
- IN STR_VEC &AryOfSelectedIamges,
- OUT STR_VEC &AryOfNoExistIamges,
- OUT STR_VEC &AryOfSelectedImagepaths
- ) = 0;
-
- virtual BOOL LoadSceneryImages(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpScenery,
- IN LPCTSTR lpLoadExt,
- OUT CStringArray& AryOfSceneryImagepaths,
- OUT CStringArray* pAryOfSceneryDirectory = NULL
- ) = 0;
- virtual BOOL LoadSceneryImages(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpScenery,
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC& AryOfSceneryImagepaths,
- OUT STR_VEC* pAryOfSceneryDirectory = NULL
- ) = 0;
-
- virtual BOOL LoadOrderImages(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpLoadExt,
- OUT CStringArray& AryOfOrderImagePaths,
- OUT CStringArray* pAryOfOrderDirectory = NULL
- ) = 0;
- virtual BOOL LoadOrderImages(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC& AryOfOrderImagePaths,
- OUT STR_VEC* pAryOfOrderDirectory = NULL
- ) = 0;
- };
- interface ImgLoadExInterface
- {
- public:
-
- virtual BOOL LoadSpecifiedpathImagesEx(
- IN LPCTSTR lpSepcifiedpath,
- IN BOOL bLoadInSubfolder,
- IN LPCTSTR lpLoadExt,
- OUT CStringArray &AryOfLoadImgs,
- IN LPCTSTR lpWithExt,
- OUT CStringArray &AryOfWithImgs
- ) = 0;
-
- virtual BOOL LoadSpecifiedpathImagesEx(
- IN LPCTSTR lpSepcifiedpath,
- IN BOOL bLoadInSubfolder,
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC &AryOfLoadImgs,
- IN LPCTSTR lpWithExt,
- OUT STR_VEC &AryOfWithImgs
- ) = 0;
-
- virtual BOOL LoadSelectedIamgesFromSpecifiedpathEx(
- IN LPCTSTR lpSepcifiedpath,
- IN BOOL bLoadInSubfolder,
- IN CStringArray &AryOfSelectedIamges,
- OUT CStringArray &AryOfNoExistIamges,
- IN LPCTSTR lpLoadExt,
- OUT CStringArray &AryOfLoadImagepaths,
- IN LPCTSTR lpWithExt,
- OUT CStringArray &AryOfWithImagepaths
- ) = 0;
-
- virtual BOOL LoadSelectedIamgesFromSpecifiedpathEx(
- IN LPCTSTR lpSepcifiedpath,
- IN BOOL bLoadInSubfolder,
- IN STR_VEC &AryOfSelectedIamges,
- OUT STR_VEC &AryOfNoExistIamges,
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC &AryOfLoadImagepaths,
- IN LPCTSTR lpWithExt,
- OUT STR_VEC &AryOfWithImagepaths
- ) = 0;
-
- virtual BOOL LoadSelectedIamgesEx(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN BOOL bLoadInSubfolder,
- IN CStringArray &AryOfSelectedIamges,
- OUT CStringArray &AryOfNoExistIamges,
- IN LPCTSTR lpLoadExt,
- OUT CStringArray &AryOfLoadImagepaths,
- IN LPCTSTR lpWithExt,
- OUT CStringArray &AryOfWithImagepaths
- ) = 0;
-
- virtual BOOL LoadSelectedIamgesEx(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN BOOL bLoadInSubfolder,
- IN STR_VEC &AryOfSelectedIamges,
- OUT STR_VEC &AryOfNoExistIamges,
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC &AryOfLoadImagepaths,
- IN LPCTSTR lpWithExt,
- OUT STR_VEC &AryOfWithImagepaths
- ) = 0;
- virtual BOOL LoadSelectedIamgesInOrderEx(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN BOOL bLoadInSubfolder,
- IN CStringArray &AryOfSelectedIamges,
- OUT CStringArray &AryOfNoExistIamges,
- IN LPCTSTR lpLoadExt,
- OUT CStringArray &AryOfLoadImagepaths,
- IN LPCTSTR lpWithExt,
- OUT CStringArray &AryOfWithImagepaths
- ) = 0;
- virtual BOOL LoadSelectedIamgesInOrderEx(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN BOOL bLoadInSubfolder,
- IN STR_VEC &AryOfSelectedIamges,
- OUT STR_VEC &AryOfNoExistIamges,
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC &AryOfLoadImagepaths,
- IN LPCTSTR lpWithExt,
- OUT STR_VEC &AryOfWithImagepaths
- ) = 0;
- virtual BOOL LoadSceneryImagesEx(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpScenery,
-
-
- IN LPCTSTR lpLoadExt,
- OUT CStringArray& AryOfLoadImagepaths,
- IN LPCTSTR lpWithExt,
- IN CStringArray& AryOfWithImagepaths,
- OUT CStringArray* pAryOfSceneryDirectory = NULL
- ) = 0;
- virtual BOOL LoadSceneryImagesEx(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN LPCTSTR lpScenery,
-
-
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC& AryOfLoadImagepaths,
- IN LPCTSTR lpWithExt,
- IN STR_VEC& AryOfWithImagepaths,
- OUT STR_VEC* pAryOfSceneryDirectory = NULL
- ) = 0;
- virtual BOOL LoadOrderImagesEx(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN BOOL bLoadInSubfolder,
- IN LPCTSTR lpLoadExt,
- OUT CStringArray& AryOfOrderImagePaths,
- IN LPCTSTR lpWithExt,
- IN CStringArray& AryOfWithImagepaths,
- OUT CStringArray* pAryOfOrderDirectory = NULL
- ) = 0;
- virtual BOOL LoadOrderImagesEx(
- IN CONST INT &nImgType,
- IN LPCTSTR lpBranchId,
- IN LPCTSTR lpOrderNum,
- IN BOOL bLoadInSubfolder,
- IN LPCTSTR lpLoadExt,
- OUT STR_VEC& AryOfOrderImagePaths,
- IN LPCTSTR lpWithExt,
- IN STR_VEC& AryOfWithImagepaths,
- OUT STR_VEC* pAryOfOrderDirectory = NULL
- ) = 0;
- };
- };
|