David Robillard
47a41c0d4d
git-svn-id: svn://localhost/ardour2/trunk@2791 d708f5d6-7413-0410-9779-e7cbd77b26cf
55 lines
842 B
Plaintext
55 lines
842 B
Plaintext
dnl $Id: class_generic.m4 2 2003-01-07 16:59:16Z murrayc $
|
|
|
|
dnl
|
|
dnl _CLASS_GENERIC(LayoutIter, PangoLayoutIter)
|
|
dnl
|
|
|
|
define(`_CLASS_GENERIC',`dnl
|
|
_PUSH()
|
|
dnl
|
|
dnl Define the args for later macros
|
|
define(`__CPPNAME__',`$1')
|
|
define(`__CNAME__',`$2')
|
|
|
|
_POP()
|
|
_SECTION(SECTION_CLASS2)
|
|
') dnl End of _CLASS_GENERIC.
|
|
|
|
|
|
dnl
|
|
dnl _END_CLASS_GENERIC()
|
|
dnl denotes the end of a class
|
|
dnl
|
|
define(`_END_CLASS_GENERIC',`
|
|
|
|
_SECTION(SECTION_SRC_GENERATED)
|
|
|
|
__NAMESPACE_BEGIN__
|
|
|
|
dnl The implementation:
|
|
|
|
_IMPORT(SECTION_CC)
|
|
|
|
__NAMESPACE_END__
|
|
|
|
dnl
|
|
dnl
|
|
dnl
|
|
dnl
|
|
_POP()
|
|
dnl
|
|
dnl
|
|
dnl The actual class, e.g. Pango::FontDescription, declaration:
|
|
dnl
|
|
_IMPORT(SECTION_CLASS1)
|
|
public:
|
|
#ifndef DOXYGEN_SHOULD_SKIP_THIS
|
|
typedef __CPPNAME__ CppObjectType;
|
|
typedef __CNAME__ BaseObjectType;
|
|
#endif /* DOXYGEN_SHOULD_SKIP_THIS */
|
|
|
|
private:
|
|
_IMPORT(SECTION_CLASS2)
|
|
')
|
|
|