~ubuntu-branches/ubuntu/quantal/kdevplatform/quantal-proposed

« back to all changes in this revision

Viewing changes to Architecture.dox

  • Committer: Bazaar Package Importer
  • Author(s): Alessandro Ghersi
  • Date: 2010-10-24 00:06:18 UTC
  • mfrom: (0.3.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20101024000618-7otebin77mfcmt3b
Tags: 1.1.0-0ubuntu1
* New upstream release
  - Bump build-dependencies
  - Build against libboost-serialization1.42-dev
  - Update kdevplatform1-libs.install
  - Update kdevplatform-dev.install

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
 
121
121
\subsubsection declare_extension To declare an extension interface:
122
122
- Create an abstract class
123
 
- Include <iextension.h>
124
123
- Add macros declaring the interface to your abstract class' header file
125
124
  - If your abstract class is in a namespace use the following:
126
125
    \code
127
 
    KDEV_DECLARE_EXTENSION_INTERFACE_NS( KDevelop, IMyInterface, "org.kdevelop.IMyInterface")
128
126
    Q_DECLARE_INTERFACE( KDevelop::IMyInterface, "org.kdevelop.IMyInterface" )
129
127
    \endcode
130
128
  - Otherwise use:
131
129
    \code
132
 
    KDEV_DECLARE_EXTENSION_INTERFACE( IMyInterface, "org.kdevelop.IMyInterface" )
133
130
    Q_DECLARE_INTERFACE( IMyInterface, "org.kdevelop.IMyInterface" )
134
131
    \endcode
135
132
  .