rtoss - Diff between revs 181 and 182

Subversion Repositories:
Rev:
Show entire file - Ignore whitespace
Rev 181 Rev 182
Line -... Line 1...
-   1 #ifndef NULLSOFT_WINAMP_DSP_H
-   2 #define NULLSOFT_WINAMP_DSP_H
1 // DSP plugin interface 3 // DSP plugin interface
2 4
3 // notes: 5 // notes:
4 // any window that remains in foreground should optimally pass unused 6 // any window that remains in foreground should optimally pass unused
5 // keystrokes to the parent (winamp's) window, so that the user 7 // keystrokes to the parent (winamp's) window, so that the user
Line 31... Line 33...
31 winampDSPModule* (*getModule)(int); // module retrieval function 33 winampDSPModule* (*getModule)(int); // module retrieval function
32 int (*sf)(int key); // DSP_HDRVER == 0x21 34 int (*sf)(int key); // DSP_HDRVER == 0x21
33 } winampDSPHeader; 35 } winampDSPHeader;
34 36
35 // exported symbols 37 // exported symbols
36 typedef winampDSPHeader* (*winampDSPGetHeaderType)(); -  
-   38 #ifdef USE_DSP_HDR_HWND
-   39 typedef winampDSPHeader* (*winampDSPGetHeaderType)(HWND);
-   40 #define DSP_HDRVER 0x22
37 41
-   42 #else
-   43
-   44 typedef winampDSPHeader* (*winampDSPGetHeaderType)(HWND);
38 // header version: 0x20 == 0.20 == winamp 2.0 45 // header version: 0x20 == 0.20 == winamp 2.0
39 #define DSP_HDRVER 0x20 46 #define DSP_HDRVER 0x20
-   47 #endif
-   48
-   49 // return values from the winampUninstallPlugin(HINSTANCE hdll, HWND parent, int param)
-   50 // which determine if we can uninstall the plugin immediately or on winamp restart
-   51 #define DSP_PLUGIN_UNINSTALL_NOW 0x0
-   52 #define DSP_PLUGIN_UNINSTALL_REBOOT 0x1
-   53 //
-   54 // uninstall support was added from 5.0+ and uninstall now support from 5.5+
-   55 // it is down to you to ensure that if uninstall now is returned that it will not cause a crash
-   56 // (ie don't use if you've been subclassing the main window)
-   57
-   58 // Version note:
-   59 //
-   60 // Added passing of Winamp's main hwnd in the call to the exported winampDSPHeader()
-   61 // which allows for primarily the use of localisation features with the bundled plugins.
-   62 // If you want to use the new version then either you can edit you version of dsp.h or
-   63 // you can add USE_DSP_HDR_HWND to your project's defined list or before use of dsp.h
-   64 //
-   65 #endif