~alza/grive/grive

« back to all changes in this revision

Viewing changes to libgrive/src/http/Receivable.hh

  • Committer: Raviyanto Ahmad
  • Date: 2013-04-20 14:46:52 UTC
  • Revision ID: git-v1:02a7d102129842c50a9af0e4991b997f2de2a044
unggah semua berkas grive

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
        grive: an GPL program to sync a local directory with Google Drive
 
3
        Copyright (C) 2012  Wan Wai Ho
 
4
 
 
5
        This program is free software; you can redistribute it and/or
 
6
        modify it under the terms of the GNU General Public License
 
7
        as published by the Free Software Foundation version 2
 
8
        of the License.
 
9
 
 
10
        This program is distributed in the hope that it will be useful,
 
11
        but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
        GNU General Public License for more details.
 
14
 
 
15
        You should have received a copy of the GNU General Public License
 
16
        along with this program; if not, write to the Free Software
 
17
        Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
18
*/
 
19
 
 
20
#pragma once
 
21
 
 
22
#include <cstddef>
 
23
 
 
24
namespace gr { namespace http {
 
25
 
 
26
class Receivable
 
27
{
 
28
public :
 
29
        virtual std::size_t OnData( void *data, std::size_t count ) = 0 ;
 
30
        virtual void Clear() = 0 ;
 
31
} ;
 
32
 
 
33
} } // end of namespace