Changeset 322 for winamp-musepack/trunk/in_mpc.cpp
- Timestamp:
- 05/11/07 14:08:16 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
winamp-musepack/trunk/in_mpc.cpp
r248 r322 1 1 /* 2 Copyright (C) 2006 Nicolas BOTTI <rududu at laposte.net>2 Copyright (C) 2006-2007 Nicolas BOTTI <rududu at laposte.net> 3 3 This file is part of the Musepack Winamp plugin. 4 4 … … 48 48 49 49 mpc_player * player; 50 mpc_player * player_ext; 50 51 51 52 // module definition. … … 93 94 void config(HWND hwndParent) 94 95 { 95 MessageBoxA(hwndParent, " No configuration yet", "Configuration", MB_OK);96 MessageBoxA(hwndParent, "Do you really need a configuration ?", "Musepack Configuration", MB_OK); 96 97 } 97 98 void about(HWND hwndParent) 98 99 { 99 MessageBoxA(hwndParent,"Musepack plugin for winamp\nAll bugs © Nicolas BOTTI", "Uh ?", MB_OK); 100 if (MessageBoxA(hwndParent,"Musepack plugin for winamp\nAll bugs © Nicolas BOTTI\n\nDo you want to go to http://www.musepack.net ?", "Uh ?", MB_YESNO | MB_ICONQUESTION | MB_DEFBUTTON2) == IDYES) 101 ShellExecute( hwndParent, "open", "http://www.musepack.net", NULL, NULL, SW_NORMAL); 100 102 } 101 103 … … 225 227 } 226 228 227 } 229 __declspec( dllexport ) int winampGetExtendedFileInfo(const char *fn, const char *data, char *dest, int destlen ) 230 { 231 if ( !fn || (fn && !fn[0]) ) return 0; 232 233 if (player_ext == 0) 234 player_ext = new mpc_player(fn, 0); 235 else 236 player_ext->openFile(fn); 237 238 dest[0] = 0; 239 240 return player_ext->getExtendedFileInfo(data, dest, destlen); 241 } 242 243 }
Note: See TracChangeset
for help on using the changeset viewer.