Debian Codegraph @

include/dllinterfaces.h

raw symbols SCIP
1 /* fre:ac - free audio converter
2 * Copyright (C) 2001-2016 Robert Kausch <[email protected]>
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation, either version 2 of
7 * the License, or (at your option) any later version.
8 *
9 * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
10 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
12
13 #ifndef H_FREAC_DLLINTERFACES
14 #define H_FREAC_DLLINTERFACES
15
16 #include <smooth.h>
17
18 using namespace smooth;
19 using namespace smooth::System;
20
21 namespace freac
22 {
23 class DLLInterfaces
24 {
25 private:
26 static DynamicLoader *eupdatedll;
27 public:
28 static Bool LoadEUpdateDLL();
29 static Void FreeEUpdateDLL();
30 };
31 };
32
33 #ifdef __WIN32__
34 // eUpdate DLL API
35
36 typedef S::Void * (_stdcall *EUCREATEUPDATECONTEXT) (const wchar_t *, const wchar_t *, const wchar_t *);
37 typedef S::Bool (_stdcall *EUSETCONFIGFILE) (S::Void *, const wchar_t *);
38 typedef S::Bool (_stdcall *EUSETLANGUAGE) (S::Void *, const wchar_t *);
39 typedef S::Int (_stdcall *EUFREEUPDATECONTEXT) (S::Void *);
40 typedef S::Int (_stdcall *EUCHECKFORNEWUPDATES) (S::Void *, S::Bool);
41 typedef S::Void (_stdcall *EUAUTOMATICUPDATE) (S::Void *);
42
43 extern EUCREATEUPDATECONTEXT ex_eUpdate_CreateUpdateContext;
44 extern EUSETCONFIGFILE ex_eUpdate_SetConfigFile;
45 extern EUSETLANGUAGE ex_eUpdate_SetLanguage;
46 extern EUFREEUPDATECONTEXT ex_eUpdate_FreeUpdateContext;
47 extern EUCHECKFORNEWUPDATES ex_eUpdate_CheckForNewUpdates;
48 extern EUAUTOMATICUPDATE ex_eUpdate_AutomaticUpdate;
49 #endif
50
51 #endif