~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to gpgme++/data.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#ifndef __GPGMEPP_DATA_H__
24
24
#define __GPGMEPP_DATA_H__
25
25
 
26
 
#include <gpgme++/gpgmefw.h>
27
 
#include <gpgme++/gpgme++_export.h>
 
26
#include <gpgme++/global.h>
28
27
 
29
28
#include <boost/shared_ptr.hpp>
30
29
 
58
57
    static Null null;
59
58
 
60
59
    const Data & operator=( Data other ) {
61
 
        swap( other );
62
 
        return *this;
 
60
        swap( other );
 
61
        return *this;
63
62
    }
64
63
 
65
64
    void swap( Data & other ) {
66
 
        using std::swap;
67
 
        swap( this->d, other.d );
 
65
        using std::swap;
 
66
        swap( this->d, other.d );
68
67
    }
69
68
 
70
69
    bool isNull() const;
71
70
 
72
71
    enum Encoding {
73
 
        AutoEncoding,
74
 
        BinaryEncoding,
75
 
        Base64Encoding,
76
 
        ArmorEncoding
 
72
        AutoEncoding,
 
73
        BinaryEncoding,
 
74
        Base64Encoding,
 
75
        ArmorEncoding
77
76
    };
78
77
    Encoding encoding() const;
79
78
    Error setEncoding( Encoding encoding );