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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Mohammed Adnène Trojette
  • Date: 2009-02-14 20:12:27 UTC
  • mfrom: (1.1.11 upstream) (2.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090214201227-go63qxm9ozfdma60
Tags: 4.65~dfsg.1-1
* New upstream release.
* Remove wx2.8 Build-Depends added by mistakes (7zG is not yet
  intended to be built).
* Use dh_clean without -k.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
{
18
18
  UString Prefix;   // path(folder) prefix including slash
19
19
  UString Name; // base name
20
 
  UString BaseExtension; // archive type extension or "exe" extension 
 
20
  UString BaseExtension; // archive type extension or "exe" extension
21
21
  UString VolExtension;  // archive type extension for volumes
22
22
 
23
23
  bool Temp;
70
70
      path += UString(L'.') + BaseExtension;
71
71
    path += L".tmp";
72
72
    path += TempPostfix;
73
 
    return path; 
 
73
    return path;
74
74
  }
75
75
};
76
76
 
111
111
 
112
112
  UString WorkingDir;
113
113
 
114
 
  bool Init(const CCodecs *codecs, const UString &arcPath, const UString &arcType);
 
114
  bool Init(const CCodecs *codecs, const CIntVector &formatIndices, const UString &arcPath);
115
115
 
116
116
  CUpdateOptions():
117
117
    UpdateArchiveItself(true),
144
144
  INTERFACE_IUpdateCallbackUI(x) \
145
145
  virtual HRESULT OpenResult(const wchar_t *name, HRESULT result) x; \
146
146
  virtual HRESULT StartScanning() x; \
 
147
  virtual HRESULT ScanProgress(UInt64 numFolders, UInt64 numFiles, const wchar_t *path) x; \
147
148
  virtual HRESULT CanNotFindError(const wchar_t *name, DWORD systemError) x; \
148
149
  virtual HRESULT FinishScanning() x; \
149
150
  virtual HRESULT StartArchive(const wchar_t *name, bool updating) x; \
156
157
 
157
158
HRESULT UpdateArchive(
158
159
    CCodecs *codecs,
159
 
    const NWildcard::CCensor &censor, 
 
160
    const NWildcard::CCensor &censor,
160
161
    CUpdateOptions &options,
161
162
    CUpdateErrorInfo &errorInfo,
162
163
    IOpenCallbackUI *openCallback,