summaryrefslogtreecommitdiffstats
path: root/xbmc/addons/include/xbmc_scr_dll.h
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2015-03-03 16:53:59 +0100
committermanuel <manuel@mausz.at>2015-03-03 16:53:59 +0100
commitffca21f2743a7b367fa212799c6e2fea6190dd5d (patch)
tree0608ea3a29cf644ec9ab204e2b4bb9bfaae1c381 /xbmc/addons/include/xbmc_scr_dll.h
downloadkodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.tar.gz
kodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.tar.bz2
kodi-pvr-build-ffca21f2743a7b367fa212799c6e2fea6190dd5d.zip
initial commit for kodi master
Diffstat (limited to 'xbmc/addons/include/xbmc_scr_dll.h')
-rw-r--r--xbmc/addons/include/xbmc_scr_dll.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/xbmc/addons/include/xbmc_scr_dll.h b/xbmc/addons/include/xbmc_scr_dll.h
new file mode 100644
index 0000000..c4257b4
--- /dev/null
+++ b/xbmc/addons/include/xbmc_scr_dll.h
@@ -0,0 +1,45 @@
1#pragma once
2/*
3 * Copyright (C) 2005-2013 Team XBMC
4 * http://xbmc.org
5 *
6 * This Program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2, or (at your option)
9 * any later version.
10 *
11 * This Program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with XBMC; see the file COPYING. If not, see
18 * <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef __XBMC_SCR_H__
23#define __XBMC_SCR_H__
24
25#include "xbmc_addon_dll.h"
26#include "xbmc_scr_types.h"
27
28extern "C"
29{
30
31 // Functions that your visualisation must implement
32 void Start();
33 void Render();
34 void GetInfo(SCR_INFO* pInfo);
35
36 // function to export the above structure to XBMC
37 void __declspec(dllexport) get_addon(struct ScreenSaver* pScr)
38 {
39 pScr->Start = Start;
40 pScr->Render = Render;
41 pScr->GetInfo = GetInfo;
42 };
43};
44
45#endif