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

« back to all changes in this revision

Viewing changes to CPP/7zip/Crypto/Rar20/Rar20Cipher.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:
1
 
// Crypto/Rar20Cipher.h
2
 
 
3
 
#ifndef __CRYPTO_RAR20_CIPHER_H
4
 
#define __CRYPTO_RAR20_CIPHER_H
5
 
 
6
 
#include "../../ICoder.h"
7
 
#include "../../IPassword.h"
8
 
#include "Common/MyCom.h"
9
 
 
10
 
#include "Common/Types.h"
11
 
#include "Rar20Crypto.h"
12
 
 
13
 
namespace NCrypto {
14
 
namespace NRar20 {
15
 
 
16
 
class CDecoder: 
17
 
  public ICompressFilter,
18
 
  public ICryptoSetPassword,
19
 
  public CMyUnknownImp
20
 
{
21
 
public:
22
 
  CData _coder;
23
 
 
24
 
  MY_UNKNOWN_IMP1(ICryptoSetPassword)
25
 
 
26
 
  STDMETHOD(Init)();
27
 
  STDMETHOD_(UInt32, Filter)(Byte *data, UInt32 size);
28
 
  
29
 
  STDMETHOD(CryptoSetPassword)(const Byte *data, UInt32 size);
30
 
 
31
 
};
32
 
 
33
 
}}
34
 
 
35
 
#endif