Blame lang/cpp/src/data_p.h

Packit Service 672cf4
/*
Packit Service 672cf4
  data_p.h - wraps a gpgme data object, private part -*- c++ -*-
Packit Service 672cf4
  Copyright (C) 2003,2004 Klarälvdalens Datakonsult AB
Packit Service 672cf4
  2016 Bundesamt für Sicherheit in der Informationstechnik
Packit Service 672cf4
  Software engineering by Intevation GmbH
Packit Service 672cf4
Packit Service 672cf4
  This file is part of GPGME++.
Packit Service 672cf4
Packit Service 672cf4
  GPGME++ is free software; you can redistribute it and/or
Packit Service 672cf4
  modify it under the terms of the GNU Library General Public
Packit Service 672cf4
  License as published by the Free Software Foundation; either
Packit Service 672cf4
  version 2 of the License, or (at your option) any later version.
Packit Service 672cf4
Packit Service 672cf4
  GPGME++ is distributed in the hope that it will be useful,
Packit Service 672cf4
  but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 672cf4
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service 672cf4
  GNU Library General Public License for more details.
Packit Service 672cf4
Packit Service 672cf4
  You should have received a copy of the GNU Library General Public License
Packit Service 672cf4
  along with GPGME++; see the file COPYING.LIB.  If not, write to the
Packit Service 672cf4
  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Packit Service 672cf4
  Boston, MA 02110-1301, USA.
Packit Service 672cf4
*/
Packit Service 672cf4
Packit Service 672cf4
#ifndef __GPGMEPP_DATA_P_H__
Packit Service 672cf4
#define __GPGMEPP_DATA_P_H__
Packit Service 672cf4
Packit Service 672cf4
#include <data.h>
Packit Service 672cf4
#include "callbacks.h"
Packit Service 672cf4
Packit Service 672cf4
class GpgME::Data::Private
Packit Service 672cf4
{
Packit Service 672cf4
public:
Packit Service 6c01f9
    explicit Private(gpgme_data_t d = 0)
Packit Service 672cf4
        : data(d), cbs(data_provider_callbacks) {}
Packit Service 672cf4
    ~Private();
Packit Service 672cf4
Packit Service 672cf4
    gpgme_data_t data;
Packit Service 672cf4
    gpgme_data_cbs cbs;
Packit Service 672cf4
};
Packit Service 672cf4
Packit Service 672cf4
#endif // __GPGMEPP_DATA_P_H__