~ubuntu-branches/ubuntu/precise/p7zip/precise-updates

« back to all changes in this revision

Viewing changes to CPP/7zip/UI/Common/IFileExtractCallback.h

  • Committer: Bazaar Package Importer
  • Author(s): Mohammed Adnène Trojette
  • Date: 2007-09-16 23:19:51 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070916231951-r2g4o2gbgx6ucv2u
Tags: 4.55~dfsg.1-2
* Bump debhelper compatibility to 5.
* Our Makefile is called makefile. (Closes: #442697)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
#define __IFILEEXTRACTCALLBACK_H
5
5
 
6
6
#include "Common/MyString.h"
 
7
#include "../../IDecl.h"
7
8
 
8
9
namespace NOverwriteAnswer
9
10
{
18
19
  };
19
20
}
20
21
 
21
 
// {23170F69-40C1-278A-0000-000100070000}
22
 
DEFINE_GUID(IID_IFolderArchiveExtractCallback, 
23
 
0x23170F69, 0x40C1, 0x278A, 0x00, 0x00, 0x00, 0x01, 0x00, 0x07, 0x00, 0x00);
24
 
MIDL_INTERFACE("23170F69-40C1-278A-0000-000100070000")
25
 
IFolderArchiveExtractCallback: public IProgress
 
22
DECL_INTERFACE_SUB(IFolderArchiveExtractCallback, IProgress, 0x01, 0x07)
26
23
{
27
24
public:
28
25
  STDMETHOD(AskOverwrite)(
29
26
      const wchar_t *existName, const FILETIME *existTime, const UInt64 *existSize,
30
27
      const wchar_t *newName, const FILETIME *newTime, const UInt64 *newSize,
31
28
      Int32 *answer) PURE;
32
 
  STDMETHOD(PrepareOperation)(const wchar_t *name, Int32 askExtractMode, const UInt64 *position) PURE;
 
29
  STDMETHOD(PrepareOperation)(const wchar_t *name, bool isFolder, Int32 askExtractMode, const UInt64 *position) PURE;
33
30
  STDMETHOD(MessageError)(const wchar_t *message) PURE;
34
31
  STDMETHOD(SetOperationResult)(Int32 operationResult, bool encrypted) PURE;
35
32
};