~ubuntu-branches/debian/experimental/tickr/experimental

« back to all changes in this revision

Viewing changes to src/libetm-0.4.3/win32_specific.h

  • Committer: Package Import Robot
  • Author(s): Emmanuel Thomas-Maurin
  • Date: 2012-03-07 00:48:53 UTC
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: package-import@ubuntu.com-20120307004853-jsyb2z1pgaaeusq9
Tags: upstream-0.6.0
ImportĀ upstreamĀ versionĀ 0.6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *      libetm-0.4 / win32_specific.h - Copyright (C) Emmanuel Thomas-Maurin 2008-2012
 
3
 *      <manutm007@gmail.com>
 
4
 *
 
5
 *      - win32 specific functions -
 
6
 *
 
7
 *      This program is free software: you can redistribute it and/or modify
 
8
 *      it under the terms of the GNU General Public License as published by
 
9
 *      the Free Software Foundation, either version 3 of the License, or
 
10
 *      (at your option) any later version.
 
11
 *
 
12
 *      This program is distributed in the hope that it will be useful,
 
13
 *      but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
 *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
 *      GNU General Public License for more details.
 
16
 *
 
17
 *      You should have received a copy of the GNU General Public License
 
18
 *      along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
19
 */
 
20
 
 
21
#ifndef INC_LIBETM_WIN32_SPECIFIC_H
 
22
#define INC_LIBETM_WIN32_SPECIFIC_H
 
23
 
 
24
#ifdef G_OS_WIN32
 
25
# ifndef WIN32_V
 
26
#  define WIN32_V
 
27
# endif
 
28
#endif
 
29
 
 
30
#ifdef WIN32_V
 
31
/* return NULL if error */
 
32
const char      *get_appdata_dir();
 
33
const char      *get_progfiles_dir();
 
34
/* key_value must be able to store 255 chars */
 
35
int             get_key_value_from_win32registry(const char *, char *);
 
36
int             save_key_value_into_win32registry(const char *, const char *);
 
37
/* return NULL if error */
 
38
const char      *get_default_browser_from_win32registry();
 
39
/* return -1 if error */
 
40
int             get_win32_taskbar_height();
 
41
/* find up to 15 mac addresses for this computer
 
42
 * return NULL if error */
 
43
/*const char    **find_mac_addresses();*/
 
44
#endif
 
45
#endif /* INC_LIBETM_WIN32_SPECIFIC_H */