Debian Codegraph @

components/extension/donate/methods/method.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2018 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #ifndef H_DONATE_METHOD
14 #define H_DONATE_METHOD
15
16 #include <smooth.h>
17 #include <boca.h>
18
19 using namespace smooth;
20 using namespace smooth::GUI;
21
22 using namespace BoCA;
23
24 namespace BoCA
25 {
26 class PaymentMethod
27 {
28 private:
29 String id;
30 protected:
31 Bitmap logo;
32 public:
33 PaymentMethod(const String &);
34 virtual ~PaymentMethod();
35
36 virtual Layer *GetLayer() = 0;
37 accessors:
38 const String &GetID() { return id; }
39
40 const Bitmap &GetLogo() { return logo; }
41 };
42 };
43
44 #endif