Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

htsys.h

Go to the documentation of this file.
00001 /* 
00002  *      HT Editor
00003  *      htsys.h (Win32 implementation)
00004  *
00005  *      Copyright (C) 1999-2002 Sebastian Biallas (sb@web-productions.de)
00006  *      Copyright (C) 1999-2002 Stefan Weyergraf (stefan@weyergraf.de)
00007  *
00008  *      This program is free software; you can redistribute it and/or modify
00009  *      it under the terms of the GNU General Public License version 2 as
00010  *      published by the Free Software Foundation.
00011  *
00012  *      This program is distributed in the hope that it will be useful,
00013  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *      GNU General Public License for more details.
00016  *
00017  *      You should have received a copy of the GNU General Public License
00018  *      along with this program; if not, write to the Free Software
00019  *      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00020  */
00021 
00022 #ifndef __HTSYS_H__
00023 #define __HTSYS_H__
00024 
00025 #include "htio.h"
00026 #include "global.h"
00027 #include "stream.h"
00028 
00029 #define HT_SYS_NAME                     "Win32"
00030 
00031 #define SYS_SUPPORT_NATIVE_CLIPBOARD
00032 #define SYS_NATIVE_CLIPBOARD_NAME "Windows Clipboard"
00033 
00034 int sys_canonicalize(char *result, const char *filename);
00035 int sys_findclose(pfind_t *pfind);
00036 int sys_findfirst(const char *dirname, pfind_t *pfind);
00037 int sys_findnext(pfind_t *pfind);
00038 int sys_pstat(pstat_t *s, const char *filename);
00039 void sys_suspend();
00040 int sys_get_free_mem();
00041 int sys_truncate(const char *filename, FILEOFS ofs);
00042 int sys_deletefile(const char *filename);
00043 bool sys_is_path_delim(char c);
00044 int sys_filename_cmp(const char *a, const char *b);
00045 
00046 bool sys_write_data_to_native_clipboard(const void *data, int size);
00047 int sys_get_native_clipboard_data_size();
00048 bool sys_read_data_from_native_clipboard(void *data, int max_size);
00049 
00050 int sys_ipc_exec(ht_streamfile **in, ht_streamfile **out, ht_streamfile **err, int *handle, const char *cmd, int options);
00051 bool sys_ipc_is_valid(int handle);
00052 int sys_ipc_terminate(int handle);
00053 
00054 int sys_get_caps();
00055 
00056 /*
00057  *      INIT
00058  */
00059 
00060 bool init_system();
00061 
00062 /*
00063  *      DONE
00064  */
00065 
00066 void done_system();
00067 
00068 #endif /* __HTSYS_H__ */

Generated on Fri May 7 21:15:37 2004 by doxygen 1.3.5