Go to the source code of this file.
Defines | |
#define | CLASS(a) |
#define | DERIVEDCLASS(a, b) |
#define | ENDCLASS(a) a##_FIELDS }; |
Usage Rules: 1) include this file 2) if your don't inherit, start your class with CLASS(classname) 3) if you inherit something, start your class with DERIVEDCLASS(classname, inheritedclassname) 4) end your class with ENDCLASS(classname) 5) define your class variables with a define classname_FIELDS inheritedclassname_FIELDS inside your class and always add a backslash at the end of line (except last) 6) if you want to use doxygen, use C-style comments inside the define, and enable macro expansion in doxyconf and predefine DOXYGEN_PREPROCESSING there, etc.
See examples at the end of this file (in if 0 block)
Copyright (C) 2007 STMicroelectronics Copyright (C) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
$Date$ Revision $Rev$ Author $Author$
Definition in file omx_classmagic.h.
#define CLASS | ( | a | ) |
#define DERIVEDCLASS | ( | a, | |||
b | ) |
#define ENDCLASS | ( | a | ) | a##_FIELDS }; |
Definition at line 56 of file omx_classmagic.h.