mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
* Support of enums declared inside classes. * Moving of Java translation code into abstractapi.py in order to have Java's API in the generated multi-language documentation.
51 lines
1.1 KiB
Text
51 lines
1.1 KiB
Text
/*
|
|
Copyright (C) 2017 Belledonne Communications SARL
|
|
|
|
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, write to the Free Software
|
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef _ENUMS_HH
|
|
#define _ENUMS_HH
|
|
|
|
namespace linphone {
|
|
|
|
{{#enums}}
|
|
{{#doc}}
|
|
/**
|
|
{{#lines}}
|
|
* {{{line}}}
|
|
{{/lines}}
|
|
*
|
|
*/
|
|
{{/doc}}
|
|
enum class {{name}} {
|
|
{{#enumerators}}
|
|
{{#doc}}
|
|
/**
|
|
{{#lines}}
|
|
* {{{line}}}
|
|
{{/lines}}
|
|
*/
|
|
{{/doc}}
|
|
{{name}}{{#value}} = {{{value}}}{{/value}}{{#notLast}},{{/notLast}}
|
|
{{/enumerators}}
|
|
};
|
|
|
|
{{/enums}}
|
|
|
|
typedef int Status;
|
|
};
|
|
|
|
#endif //_ENUMS_HH
|