AminetAminet
Search:
82050 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/gcc/Libclasses.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:C++ class interfaces to Amiga libraries
Author:Anders Kjeldsen (AndersK at gangstah.net)
Uploader:Anders Kjeldsen (AndersK gangstah net)
Type:dev/gcc
Version:20031007
Architecture:m68k-amigaos
Date:2003-10-08
Download:http://aminet.net/dev/gcc/Libclasses.lha - View contents
Readme:http://aminet.net/dev/gcc/Libclasses.readme
Downloads:1288
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 :)


Contents of dev/gcc/Libclasses.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 1013    6187  16.4% -lh5- e2a8 Jan  1  1980 libclasses/AmigaGuideLibrary.cpp
[generic]                  498    1430  34.8% -lh5- e14c Jan  1  1980 libclasses/AmigaGuideLibrary.h
[generic]                 1821   20240   9.0% -lh5- e007 Jan  1  1980 libclasses/AmlLibrary.cpp
[generic]                  795    3432  23.2% -lh5- 9714 Jan  1  1980 libclasses/AmlLibrary.h
[generic]                  324     629  51.5% -lh5- 3b1e Jan  1  1980 libclasses/ARexxLibrary.cpp
[generic]                  183     317  57.7% -lh5- 10fb Jan  1  1980 libclasses/ARexxLibrary.h
[generic]                  591    2501  23.6% -lh5- 2977 Jan  1  1980 libclasses/AslLibrary.cpp
[generic]                  289     692  41.8% -lh5- 6768 Jan  1  1980 libclasses/AslLibrary.h
[generic]                  406    1015  40.0% -lh5- 20cc Jan  1  1980 libclasses/BattClockLibrary.cpp
[generic]                  203     373  54.4% -lh5- 748e Jan  1  1980 libclasses/BattClockLibrary.h
[generic]                  490    1592  30.8% -lh5- d4ff Jan  1  1980 libclasses/BattMemLibrary.cpp
[generic]                  241     463  52.1% -lh5- c4f0 Jan  1  1980 libclasses/BattMemLibrary.h
[generic]                  323     629  51.4% -lh5- 948c Jan  1  1980 libclasses/BevelLibrary.cpp
[generic]                  183     317  57.7% -lh5- c7f6 Jan  1  1980 libclasses/BevelLibrary.h
[generic]                  328     640  51.2% -lh5- eb0d Jan  1  1980 libclasses/BitMapLibrary.cpp
[generic]                  185     326  56.7% -lh5- 392e Jan  1  1980 libclasses/BitMapLibrary.h
[generic]                  498    2039  24.4% -lh5- 6d33 Jan  1  1980 libclasses/BulletLibrary.cpp
[generic]                  259     627  41.3% -lh5- 0192 Jan  1  1980 libclasses/BulletLibrary.h
[generic]                  327     640  51.1% -lh5- d744 Jan  1  1980 libclasses/ButtonLibrary.cpp
[generic]                  186     326  57.1% -lh5- 7512 Jan  1  1980 libclasses/ButtonLibrary.h
[generic]                  991    5683  17.4% -lh5- b2f8 Jan  1  1980 libclasses/CardResource.cpp
[generic]                  462    1231  37.5% -lh5- 3b4c Jan  1  1980 libclasses/CardResource.h
[generic]                  334     662  50.5% -lh5- bd1d Jan  1  1980 libclasses/CheckBoxLibrary.cpp
[generic]                  190     344  55.2% -lh5- 80fa Jan  1  1980 libclasses/CheckBoxLibrary.h
[generic]                  626    2524  24.8% -lh5- 8fb6 Jan  1  1980 libclasses/ChooserLibrary.cpp
[generic]                  318     735  43.3% -lh5- 7bd9 Jan  1  1980 libclasses/ChooserLibrary.h
[generic]                  496    1779  27.9% -lh5- a188 Jan  1  1980 libclasses/ClickTabLibrary.cpp
[generic]                  269     619  43.5% -lh5- c734 Jan  1  1980 libclasses/ClickTabLibrary.h
[generic]                  403    1068  37.7% -lh5- 71ae Jan  1  1980 libclasses/ColorWheelLibrary.cpp
[generic]                  236     489  48.3% -lh5- 7ed1 Jan  1  1980 libclasses/ColorWheelLibrary.h
[generic]                  518    1406  36.8% -lh5- 2254 Jan  1  1980 libclasses/ConsoleDevice.cpp
[generic]                  270     547  49.4% -lh5- f747 Jan  1  1980 libclasses/ConsoleDevice.h
[generic]                 1189    7815  15.2% -lh5- 972e Jan  1  1980 libclasses/CxLibrary.cpp
[generic]                  585    1593  36.7% -lh5- 1564 Jan  1  1980 libclasses/CxLibrary.h
[generic]                 1013    6007  16.9% -lh5- c4a8 Jan  1  1980 libclasses/DataTypesLibrary.cpp
[generic]                  509    1531  33.2% -lh5- 8c54 Jan  1  1980 libclasses/DataTypesLibrary.h
[generic]                  543    1650  32.9% -lh5- d46c Jan  1  1980 libclasses/DateBrowserLibrary.cpp
[generic]                  264     505  52.3% -lh5- cd54 Jan  1  1980 libclasses/DateBrowserLibrary.h
[generic]                  653    2292  28.5% -lh5- 4a61 Jan  1  1980 libclasses/DiskfontLibrary.cpp
[generic]                  317     687  46.1% -lh5- 15d3 Jan  1  1980 libclasses/DiskfontLibrary.h
[generic]                  504    1871  26.9% -lh5- 2ebf Jan  1  1980 libclasses/DiskLibrary.cpp
[generic]                  239     472  50.6% -lh5- 1798 Jan  1  1980 libclasses/DiskLibrary.h
[generic]                 5277   52396  10.1% -lh5- d072 Jan  1  1980 libclasses/DOSLibrary.cpp
[generic]                 2204    8359  26.4% -lh5- 939e Jan  1  1980 libclasses/DOSLibrary.h
[generic]                  331     662  50.0% -lh5- b4ca Jan  1  1980 libclasses/DrawListLibrary.cpp
[generic]                  190     344  55.2% -lh5- fa46 Jan  1  1980 libclasses/DrawListLibrary.h
[generic]                  326     647  50.4% -lh5- dc09 Jan  1  1980 libclasses/DTClassLibrary.cpp
[generic]                  194     363  53.4% -lh5- 921c Jan  1  1980 libclasses/DTClassLibrary.h
[generic]                 4003   34884  11.5% -lh5- 52b8 Jan  1  1980 libclasses/ExecLibrary.cpp
[generic]                 1634    6265  26.1% -lh5- 3ace Jan  1  1980 libclasses/ExecLibrary.h
[generic]                 1155    6962  16.6% -lh5- 753b Jan  1  1980 libclasses/ExpansionLibrary.cpp
[generic]                  551    1620  34.0% -lh5- 9fe8 Jan  1  1980 libclasses/ExpansionLibrary.h
[generic]                  333     673  49.5% -lh5- 66e5 Jan  1  1980 libclasses/FuelGaugeLibrary.cpp
[generic]                  191     353  54.1% -lh5- 22b1 Jan  1  1980 libclasses/FuelGaugeLibrary.h
[generic]                 1262    7229  17.5% -lh5- 9304 Jan  1  1980 libclasses/GadToolsLibrary.cpp
[generic]                  589    1812  32.5% -lh5- f714 Jan  1  1980 libclasses/GadToolsLibrary.h
[generic]                  330     651  50.7% -lh5- 8dcd Jan  1  1980 libclasses/GetFileLibrary.cpp
[generic]                  187     335  55.8% -lh5- d0a7 Jan  1  1980 libclasses/GetFileLibrary.h
[generic]                  329     651  50.5% -lh5- e188 Jan  1  1980 libclasses/GetFontLibrary.cpp
[generic]                  187     335  55.8% -lh5- 7cbb Jan  1  1980 libclasses/GetFontLibrary.h
[generic]                  344     717  48.0% -lh5- 01db Jan  1  1980 libclasses/GetScreenModeLibrary.cpp
[generic]                  198     389  50.9% -lh5- b3ea Jan  1  1980 libclasses/GetScreenModeLibrary.h
[generic]                 6489   58059  11.2% -lh5- a87a Jan  1  1980 libclasses/GfxLibrary.cpp
[generic]                 2593   11433  22.7% -lh5- 39cf Jan  1  1980 libclasses/GfxLibrary.h
[generic]                  323     629  51.4% -lh5- a4fb Jan  1  1980 libclasses/GlyphLibrary.cpp
[generic]                  184     317  58.0% -lh5- fa3e Jan  1  1980 libclasses/GlyphLibrary.h
[generic]                 1357    9141  14.8% -lh5- 5928 Jan  1  1980 libclasses/HDWLibrary.cpp
[generic]                  616    1589  38.8% -lh5- 2f67 Jan  1  1980 libclasses/HDWLibrary.h
[generic]                 1267    8292  15.3% -lh5- 2044 Jan  1  1980 libclasses/IconLibrary.cpp
[generic]                  605    1906  31.7% -lh5- 1008 Jan  1  1980 libclasses/IconLibrary.h
[generic]                 1632   15565  10.5% -lh5- 8032 Jan  1  1980 libclasses/IFFParseLibrary.cpp
[generic]                  741    3139  23.6% -lh5- 0f6b Jan  1  1980 libclasses/IFFParseLibrary.h
[generic]                  325     622  52.3% -lh5- d0b6 Jan  1  1980 libclasses/InputLibrary.cpp
[generic]                  174     283  61.5% -lh5- 3674 Jan  1  1980 libclasses/InputLibrary.h
[generic]                  327     651  50.2% -lh5- 955a Jan  1  1980 libclasses/IntegerLibrary.cpp
[generic]                  187     335  55.8% -lh5- 59e0 Jan  1  1980 libclasses/IntegerLibrary.h
[generic]                 5304   45109  11.8% -lh5- eeb9 Jan  1  1980 libclasses/IntuitionLibrary.cpp
[generic]                 2099    9169  22.9% -lh5- 384d Jan  1  1980 libclasses/IntuitionLibrary.h
[generic]                  595    1995  29.8% -lh5- aafa Jan  1  1980 libclasses/KeymapLibrary.cpp
[generic]                  282     608  46.4% -lh5- dd88 Jan  1  1980 libclasses/KeymapLibrary.h
[generic]                  324     629  51.5% -lh5- ffb4 Jan  1  1980 libclasses/LabelLibrary.cpp
[generic]                  181     317  57.1% -lh5- 2a8d Jan  1  1980 libclasses/LabelLibrary.h
[generic]                 1413   12538  11.3% -lh5- 8cc5 Jan  1  1980 libclasses/LayersLibrary.cpp
[generic]                  634    2687  23.6% -lh5- 18b6 Jan  1  1980 libclasses/LayersLibrary.h
[generic]                  783    3680  21.3% -lh5- adbb Jan  1  1980 libclasses/LayoutLibrary.cpp
[generic]                  386    1036  37.3% -lh5- 1e58 Jan  1  1980 libclasses/LayoutLibrary.h
[generic]                  673    3331  20.2% -lh5- fe37 Jan  1  1980 libclasses/ListBrowserLibrary.cpp
[generic]                  352     998  35.3% -lh5- d936 Jan  1  1980 libclasses/ListBrowserLibrary.h
[generic]                 1161    9768  11.9% -lh5- 7399 Jan  1  1980 libclasses/LocaleLibrary.cpp
[generic]                  571    2044  27.9% -lh5- 8218 Jan  1  1980 libclasses/LocaleLibrary.h
[generic]                  909    4747  19.1% -lh5- c132 Jan  1  1980 libclasses/LowLevelLibrary.cpp
[generic]                  474    1118  42.4% -lh5- 142e Jan  1  1980 libclasses/LowLevelLibrary.h
[generic]                  620    4187  14.8% -lh5- 6651 Jan  1  1980 libclasses/MathIeeeSingBasLibrary.cpp
[generic]                  294     804  36.6% -lh5- 2e98 Jan  1  1980 libclasses/MathIeeeSingBasLibrary.h
[generic]                  589    5339  11.0% -lh5- a5e3 Jan  1  1980 libclasses/MathIeeeSingTransLibrary.cpp
[generic]                  284     907  31.3% -lh5- b71e Jan  1  1980 libclasses/MathIeeeSingTransLibrary.h
[generic]                  578    3912  14.8% -lh5- c3c9 Jan  1  1980 libclasses/MathLibrary.cpp
[generic]                  260     670  38.8% -lh5- cae9 Jan  1  1980 libclasses/MathLibrary.h
[generic]                  562    5073  11.1% -lh5- 74bc Jan  1  1980 libclasses/MathTransLibrary.cpp
[generic]                  269     780  34.5% -lh5- 615d Jan  1  1980 libclasses/MathTransLibrary.h
[generic]                  441     987  44.7% -lh5- a7b1 Jan  1  1980 libclasses/MiscLibrary.cpp
[generic]                  216     352  61.4% -lh5- c776 Jan  1  1980 libclasses/MiscLibrary.h
[generic]                  719    3305  21.8% -lh5- 978b Jan  1  1980 libclasses/NVLibrary.cpp
[generic]                  333     822  40.5% -lh5- 3098 Jan  1  1980 libclasses/NVLibrary.h
[generic]                  326     651  50.1% -lh5- fc5a Jan  1  1980 libclasses/PaletteLibrary.cpp
[generic]                  187     335  55.8% -lh5- ba30 Jan  1  1980 libclasses/PaletteLibrary.h
[generic]                  327     640  51.1% -lh5- b796 Jan  1  1980 libclasses/PenMapLibrary.cpp
[generic]                  185     326  56.7% -lh5- e7a8 Jan  1  1980 libclasses/PenMapLibrary.h
[generic]                  495    1779  27.8% -lh5- 86d8 Jan  1  1980 libclasses/PopCycleLibrary.cpp
[generic]                  252     599  42.1% -lh5- 7d5a Jan  1  1980 libclasses/PopCycleLibrary.h
[generic]                  434    1165  37.3% -lh5- 0674 Jan  1  1980 libclasses/PotgoLibrary.cpp
[generic]                  214     365  58.6% -lh5- 9ca9 Jan  1  1980 libclasses/PotgoLibrary.h
[generic]                  923    4206  21.9% -lh5- 8e03 Jan  1  1980 libclasses/PowerPCLibrary.cpp
[generic]                 1264    4712  26.8% -lh5- d8b3 Jan  1  1980 libclasses/PowerPCLibrary.h
[generic]                  541    1918  28.2% -lh5- 3f1e Jan  1  1980 libclasses/RadioButtonLibrary.cpp
[generic]                  282     673  41.9% -lh5- b536 Jan  1  1980 libclasses/RadioButtonLibrary.h
[generic]                  386     926  41.7% -lh5- 56ab Jan  1  1980 libclasses/RamdriveDevice.cpp
[generic]                  192     324  59.3% -lh5- 60f2 Jan  1  1980 libclasses/RamdriveDevice.h
[generic]                  803    3770  21.3% -lh5- 83e7 Jan  1  1980 libclasses/RealTimeLibrary.cpp
[generic]                  397     964  41.2% -lh5- 9b88 Jan  1  1980 libclasses/RealTimeLibrary.h
[generic]                  330     673  49.0% -lh5- d181 Jan  1  1980 libclasses/RequesterLibrary.cpp
[generic]                  192     353  54.4% -lh5- a2b2 Jan  1  1980 libclasses/RequesterLibrary.h
[generic]                  712    3525  20.2% -lh5- 8261 Jan  1  1980 libclasses/ResourceLibrary.cpp
[generic]                  379    1014  37.4% -lh5- 5e15 Jan  1  1980 libclasses/ResourceLibrary.h
[generic]                  783    3477  22.5% -lh5- 2343 Jan  1  1980 libclasses/RexxSysLibrary.cpp
[generic]                  364     877  41.5% -lh5- 3b0b Jan  1  1980 libclasses/RexxSysLibrary.h
[generic]                  327     662  49.4% -lh5- dfe6 Jan  1  1980 libclasses/ScrollerLibrary.cpp
[generic]                  189     344  54.9% -lh5- c937 Jan  1  1980 libclasses/ScrollerLibrary.h
[generic]                  323     640  50.5% -lh5- fbb1 Jan  1  1980 libclasses/SliderLibrary.cpp
[generic]                  185     326  56.7% -lh5- ba7f Jan  1  1980 libclasses/SliderLibrary.h
[generic]                  323     629  51.4% -lh5- a986 Jan  1  1980 libclasses/SpaceLibrary.cpp
[generic]                  183     317  57.7% -lh5- d967 Jan  1  1980 libclasses/SpaceLibrary.h
[generic]                  537    1871  28.7% -lh5- 5118 Jan  1  1980 libclasses/SpeedBarLibrary.cpp
[generic]                  280     645  43.4% -lh5- aee3 Jan  1  1980 libclasses/SpeedBarLibrary.h
[generic]                  325     640  50.8% -lh5- 383d Jan  1  1980 libclasses/StringLibrary.cpp
[generic]                  186     326  57.1% -lh5- 1746 Jan  1  1980 libclasses/StringLibrary.h
[generic]                  337     684  49.3% -lh5- d809 Jan  1  1980 libclasses/TextEditorLibrary.cpp
[generic]                  193     362  53.3% -lh5- 67bd Jan  1  1980 libclasses/TextEditorLibrary.h
[generic]                  334     673  49.6% -lh5- c848 Jan  1  1980 libclasses/TextFieldLibrary.cpp
[generic]                  187     362  51.7% -lh5- 9178 Jan  1  1980 libclasses/TextFieldLibrary.h
[generic]                  505    1855  27.2% -lh5- 455d Jan  1  1980 libclasses/TimerLibrary.cpp
[generic]                  248     551  45.0% -lh5- 2f18 Jan  1  1980 libclasses/TimerLibrary.h
[generic]                  449     991  45.3% -lh5- d1e3 Jan  1  1980 libclasses/TranslatorLibrary.cpp
[generic]                  222     398  55.8% -lh5- b07c Jan  1  1980 libclasses/TranslatorLibrary.h
[generic]                 1777   13692  13.0% -lh5- 5dd5 Jan  1  1980 libclasses/UtilityLibrary.cpp
[generic]                  844    2868  29.4% -lh5- fdf4 Jan  1  1980 libclasses/UtilityLibrary.h
[generic]                  327     640  51.1% -lh5- c265 Jan  1  1980 libclasses/WindowLibrary.cpp
[generic]                  186     326  57.1% -lh5- e5a1 Jan  1  1980 libclasses/WindowLibrary.h
[generic]                 1035    6597  15.7% -lh5- 38da Jan  1  1980 libclasses/WorkbenchLibrary.cpp
[generic]                  525    1636  32.1% -lh5- 4216 Jan  1  1980 libclasses/WorkbenchLibrary.h
[generic]                  126     184  68.5% -lh5- 544b Jan  1  1980 Exception.h
[generic]                  215     391  55.0% -lh5- 4127 Jan  1  1980 Exception.cpp
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total       152 files   98349  522327  18.8%            Oct  8  2003

Aminet © 1992-2017 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>