1998-02-24 10:43:20 +00:00
|
|
|
#ifndef __OS_DEP_H
|
|
|
|
#define __OS_DEP_H
|
|
|
|
|
|
|
|
#ifndef XVT_INCL
|
|
|
|
#include <xvt.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef __STRINGS_H
|
|
|
|
#include <strings.h>
|
|
|
|
#endif
|
|
|
|
|
2003-03-31 14:34:07 +00:00
|
|
|
//void os_post_menu_event(WINDOW win, MENU_TAG tag);
|
1998-02-24 10:43:20 +00:00
|
|
|
|
2003-03-31 14:34:07 +00:00
|
|
|
int os_execute(const TFilename& path, bool sync, bool iconizetask, bool showchild);
|
1999-05-24 13:34:11 +00:00
|
|
|
unsigned long os_execute_in_window(const TFilename& path, WINDOW win);
|
1998-02-24 10:43:20 +00:00
|
|
|
|
|
|
|
bool os_destroy_native_icon(unsigned icon);
|
|
|
|
void os_draw_native_icon(WINDOW win, const RCT& rct, unsigned icon);
|
|
|
|
|
|
|
|
bool os_spawn_by_menu();
|
|
|
|
|
|
|
|
void os_iconize_window(WINDOW win);
|
|
|
|
void os_maximize_window(WINDOW win);
|
1999-01-19 09:15:17 +00:00
|
|
|
void os_restore_window(WINDOW win);
|
1998-02-24 10:43:20 +00:00
|
|
|
|
|
|
|
int os_get_printer_names(TToken_string& printers);
|
|
|
|
bool os_set_default_printer(const char* name);
|
|
|
|
bool os_get_default_printer(TString& name);
|
2003-03-27 12:14:51 +00:00
|
|
|
|
1998-05-28 10:09:12 +00:00
|
|
|
bool os_dongle_server_running();
|
1998-03-13 10:35:51 +00:00
|
|
|
|
1998-02-24 10:43:20 +00:00
|
|
|
#endif
|