Short: C++ class interfaces to Amiga libraries Author: Anders Kjeldsen (AndersK@gangstah.net) Uploader: Anders Kjeldsen (AndersK gangstah net) Type: dev/gcc Version: 20031007 Architecture: m68k-amigaos I've generated these C++ classes because I had problems with name conflicts and similar. Each Library is represented by a C++ class. For instance, the Exec class has this style: class ExecLibrary { public: ~ExecLibrary(); static class ExecLibrary Default; // Functions private: struct Library *Base; }; Here's an example how to access a function in Exex library: ExecLibrary::Default.Permit(); All libraries can be opened like this (Except Exec, which can only be accessed through ExecLibrary::Default) IntuitionLibrary intuitionLibrary(); or IntuitionLibrary *intuitionLibrary = new IntuitionLibrary(); These classes have not been tested properly. I've tested some functions in Exec and DOS. It's important that the library "filename" is set correctly in all the cpp-files you include. If the library c an't be opened, the constructor will throw an Exception-object (included in the package and should be put in an inluce-root). All libraries Default-member will be initialized when the classes are included. If you think this is a stupid idea, let me know :) (I know it has its disadvantages) The classes are generated to work with GCC (68k). They work fine for my 2.95.1 and 2.95.3 (I had to add some weird modifications though) Well, let me know if there are some serious bugs :)