FireBirdLib - Topfield TMS PVR TAP Programming Library
LogoManager_GetDirectory.c
Go to the documentation of this file.
1
#include <string.h>
2
#include <stdlib.h>
3
#include "
libFireBird.h
"
4
#include "
FBLib_LogoManager.h
"
5
6
char
*
LogoManager_GetDirectory
(
tLogoStyle
LogoStyle,
tLogoAspect
LogoAR,
char
*LogoPath)
7
{
8
TRACEENTER
();
9
10
if
(LogoPath)
11
{
12
strcpy(LogoPath,
LOGOROOT
);
13
switch
(LogoStyle)
14
{
15
case
LGST_3pgstyle
: strcat(LogoPath,
"/3pg/"
);
break
;
16
case
LGST_QtstyleBlue
: strcat(LogoPath,
"/qtblue/"
);
break
;
17
case
LGST_QtstyleGrey
: strcat(LogoPath,
"/qtgrey/"
);
break
;
18
case
LGST_QtstyleTMS
: strcat(LogoPath,
"/qttms/"
);
break
;
19
case
LGST_TransBlack
: strcat(LogoPath,
"/trans-black/"
);
break
;
20
case
LGST_TransIBBlue
: strcat(LogoPath,
"/trans-ibblue/"
);
break
;
21
case
LGST_TransIBGrey
: strcat(LogoPath,
"/trans-ibgrey/"
);
break
;
22
case
LGST_TransQTBlue
: strcat(LogoPath,
"/trans-qtblue/"
);
break
;
23
case
LGST_TransQTGrey
: strcat(LogoPath,
"/trans-qtgrey/"
);
break
;
24
default
:
25
break
;
26
}
27
28
switch
(LogoAR)
29
{
30
case
LGAR_43
: strcat(LogoPath,
"43"
);
break
;
31
case
LGAR_169
: strcat(LogoPath,
"169"
);
break
;
32
default
:
33
break
;
34
}
35
}
36
37
TRACEEXIT
();
38
return
LogoPath;
39
}
FBLib_LogoManager.h
LogoManager_GetDirectory
char * LogoManager_GetDirectory(tLogoStyle LogoStyle, tLogoAspect LogoAR, char *LogoPath)
Definition:
LogoManager_GetDirectory.c:6
libFireBird.h
LOGOROOT
#define LOGOROOT
Definition:
libFireBird.h:2217
TRACEEXIT
#define TRACEEXIT()
Definition:
libFireBird.h:1244
TRACEENTER
#define TRACEENTER()
Definition:
libFireBird.h:1243
tLogoAspect
tLogoAspect
Definition:
libFireBird.h:2247
LGAR_169
@ LGAR_169
Definition:
libFireBird.h:2249
LGAR_43
@ LGAR_43
Definition:
libFireBird.h:2248
tLogoStyle
tLogoStyle
Definition:
libFireBird.h:2225
LGST_TransBlack
@ LGST_TransBlack
Definition:
libFireBird.h:2230
LGST_TransQTBlue
@ LGST_TransQTBlue
Definition:
libFireBird.h:2233
LGST_3pgstyle
@ LGST_3pgstyle
Definition:
libFireBird.h:2226
LGST_QtstyleGrey
@ LGST_QtstyleGrey
Definition:
libFireBird.h:2228
LGST_TransQTGrey
@ LGST_TransQTGrey
Definition:
libFireBird.h:2234
LGST_QtstyleTMS
@ LGST_QtstyleTMS
Definition:
libFireBird.h:2229
LGST_TransIBBlue
@ LGST_TransIBBlue
Definition:
libFireBird.h:2231
LGST_QtstyleBlue
@ LGST_QtstyleBlue
Definition:
libFireBird.h:2227
LGST_TransIBGrey
@ LGST_TransIBGrey
Definition:
libFireBird.h:2232
LogoManager
LogoManager_GetDirectory.c
Generated on Fri Apr 29 2022 13:34:01 for FireBirdLib - Topfield TMS PVR TAP Programming Library by
1.9.3