~jcowgill/ubuntu/trusty/easytag/bug-1295882

« back to all changes in this revision

Viewing changes to src/win32/win32dep.h

  • Committer: Bazaar Package Importer
  • Author(s): Michal Čihař
  • Date: 2008-09-08 21:44:11 UTC
  • mfrom: (3.1.10 hardy)
  • Revision ID: james.westby@ubuntu.com-20080908214411-v237hcgn5d97ecut
Tags: 2.1.4-1.1
* Non-maintainer upload.
* Warn user when ogg vorbis tags will be lost, fix handling of multiple same
  ogg vorbis tags (Closes: #460247).
* Fix lintian warnings:
  - Add watch file.
  - Install icon for menu file (Closes: #477456).
  - Fix section in menu file.
  - Drop version from NAME section of man page to `apropos' and `whatis'
    happy.
  - Include copyright information in debian/copyright.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 */
23
23
#ifndef _WIN32DEP_H_
24
24
#define _WIN32DEP_H_
 
25
 
 
26
 
25
27
#include <winsock2.h>
26
28
#include <process.h>
27
29
#include <gtk/gtk.h>
32
34
#define chown(a,b,c)
33
35
#define chmod(a,b)
34
36
 
 
37
 
 
38
 
 
39
 
35
40
/*
36
41
 *  PROTOS
37
42
 */
44
49
 
45
50
extern HINSTANCE ET_Win32_Hinstance       (void);
46
51
extern gboolean  ET_Win32_Read_Reg_String (HKEY key, char* sub_key, char* val_name, LPBYTE data, LPDWORD data_len);
47
 
extern char*     ET_Win32_Escape_Dirsep   (char*);
 
52
extern char     *ET_Win32_Escape_Dirsep   (const char *filename);
48
53
 
49
54
/* Determine ET paths */
50
55
extern char*     ET_Win32_Install_Dir (void);
 
56
extern char*     ET_Win32_Lib_Dir (void);
51
57
extern char*     ET_Win32_Locale_Dir  (void);
52
58
extern char*     ET_Win32_Data_Dir    (void);
53
59
 
71
77
/*
72
78
 *  ET specific
73
79
 */
74
 
#define DATADIR ET_Win32_Install_Dir()
75
 
#define LOCALE ET_Win32_Locale_Dir()
 
80
#define DATADIR   ET_Win32_Install_Dir()
 
81
#define LIBDIR    ET_Win32_Lib_Dir()
 
82
#define LOCALEDIR ET_Win32_Locale_Dir()
 
83
//#define PACKAGE_DATA_DIR DATADIR
76
84
 
77
85
#endif /* _WIN32DEP_H_ */