source: SMSSender/lib/libdatatypes/src/interfaces/ibinary.h @ 71:415b45c71663

3.0
Last change on this file since 71:415b45c71663 was 71:415b45c71663, checked in by Sämy Zehnder <saemy.zehnder@…>, 12 years ago
  • Reorganized all the libraries. libinterfaces and libgateways are removed now and libdatatypes contains now all these files.
File size: 521 bytes
Line 
1/*
2 * ibinary.h
3 *
4 *  Created on: Jun 17, 2009
5 *      Author: saemy
6 */
7
8#ifndef IBINARY_H_
9#define IBINARY_H_
10
11#include "iinterface.h"
12
13#include <QObject>
14#include <cstddef>
15
16class IBinary: public IInterface{
17    Q_INTERFACES(IInterface)
18
19public:
20    virtual char*       data() const =0;
21    virtual std::size_t size() const =0;
22
23    virtual void setData(const char* data, const std::size_t& size) =0;
24};
25
26Q_DECLARE_INTERFACE(IBinary,
27                     "ch.gorrion.smssender.IBinary/1.0")
28
29
30#endif /* IBINARY_H_ */
Note: See TracBrowser for help on using the repository browser.