home *** CD-ROM | disk | FTP | other *** search
- /*
- ** Voyager-NG Plugin definitions
- ** =============================
- **
- ** (C) 1997 Oliver Wagner <owagner@vapor.com>
- ** All Rights Reserved
- **
- */
-
- #include <exec/types.h>
- #include <utility/tagitem.h>
-
- #define VPLUG_TAGBASE (TAG_USER+0x87112)
-
- /*
- ** VPLUG_Query() is supposed to return a static TagList
- ** which describes the ability and requirements of
- ** a plugin.
- */
-
- #define VPLUG_QUERYBASE (VPLUG_TAGBASE+100)
-
- #define VPLUG_Query_Version (VPLUG_QUERYBASE+0) /* ULONG version */
- #define VPLUG_Query_Revision (VPLUG_QUERYBASE+1) /* ULONG revision */
- #define VPLUG_Query_Copyright (VPLUG_QUERYBASE+2) /* STRPTR copyright information */
- #define VPLUG_Query_Infostring (VPLUG_QUERYBASE+3) /* STRPTR generic info string */
-
- #define VPLUG_Query_RegisterURLMethod (VPLUG_QUERYBASE+4) /* STRPTR register URL method */
-
-
- /*
- **
- */
-
- #ifndef BUILDPLUGIN
-
- #ifndef NO_PROTO
- #pragma libcall classlib VPLUG_Query 1e 0
- #pragma libcall classlib VPLUG_ProcessURLMethod 24 801
- #pragma libcall classlib VPLUG_GetURLData 2a 801
- #pragma libcall classlib VPLUG_GetURLMIMEType 30 801
- #pragma libcall classlib VPLUG_FreeURLData 36 801
- #endif
-
- #ifndef NO_PRAGMAS
-
- struct TagItem *VPLUG_Query( void );
- APTR VPLUG_ProcessURLMethod( STRPTR );
- APTR VPLUG_GetURLData( APTR );
- STRPTR VPLUG_GetURLMIMEType( APTR );
- void VPLUG_FreeURLData( APTR );
- #endif
-
- #endif
-