-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathderived1.h
49 lines (41 loc) · 1.37 KB
/
derived1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/**
* @file
* @author Matt Miller <matt@matthewjmiller.net>
*
* @section LICENSE
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @section DESCRIPTION
*
* This is the public interface for derived1 class, which inherits from base1
* and base2.
*/
#ifndef __DERIVED1_H__
#define __DERIVED1_H__
#include "common.h"
#include "base1.h"
#include "base2.h"
/** Opaque pointer to reference instances of this class */
typedef struct derived1_st_ *derived1_handle;
/* APIs below are documented in their implementation file */
extern my_rc_e
derived1_increase_val4(derived1_handle derived1_h);
extern base1_handle
derived1_cast_to_base1(derived1_handle derived1_h);
extern base2_handle
derived1_cast_to_base2(derived1_handle derived1_h);
extern derived1_handle
derived1_new1(void);
#endif