openmicroscopy/ome-documentation — pull request #206 by dpwrussell (2013-01-11 17:12:07+00:00)
Title: Fixed forward declartion incomplete type error in c++ example code

Compiling the existing example code results in an incomplete type error as omero/client.h includes omero/ServicesF.h which forward declares IAdmin

Fix by including omero/api/IAdmin.h

```
g++ -c -o yourcode.o yourcode.cpp -I/home/dpwrussell/Ice/omero/OMERO.cpp-4.4.5-ice33-posix-gcc-4.6.3-64dbg/include -I/home/dpwrussell/Ice/home/Ice-3.3.1//include
yourcode.cpp: In function ‘int main(int, char**)’:
yourcode.cpp:30:18: error: invalid use of incomplete type ‘struct IceProxy::omero::api::IAdmin’
/home/dpwrussell/Ice/omero/OMERO.cpp-4.4.5-ice33-posix-gcc-4.6.3-64dbg/include/omero/ServicesF.h:60:7: error: forward declaration of ‘struct IceProxy::omero::api::IAdmin’
make: *** [yourcode.o] Error 1
```