Files correlati : librerie Ricompilazione Demo : [ ] Commento : Spostata un'altra vagonata di roba da os_dep a xvaga git-svn-id: svn://10.65.10.50/trunk@10952 c028cbd2-c16b-5b4b-a496-9718f37d4682
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
| #ifndef __OS_DEP_H
 | |
| #define __OS_DEP_H
 | |
| 
 | |
| #ifndef XVT_INCL
 | |
| #include <xvt.h>
 | |
| #endif
 | |
| 
 | |
| #ifndef __STRINGS_H
 | |
| #include <strings.h>
 | |
| #endif
 | |
| 
 | |
| enum os_type { os_Unknown, os_Win32s, os_Windows, os_Windows95, os_Windows98, 
 | |
|                os_WindowsME, os_WindowsNT, os_Windows2000, os_WindowsXP };
 | |
| os_type os_get_type();
 | |
| 
 | |
| void os_post_menu_event(WINDOW win, MENU_TAG tag);
 | |
| 
 | |
| int   os_execute(const TFilename& path, bool sync, bool iconizetask, bool showchild);
 | |
| unsigned long os_execute_in_window(const TFilename& path, WINDOW win);
 | |
| 
 | |
| 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);
 | |
| void os_restore_window(WINDOW win);
 | |
| 
 | |
| int  os_get_printer_names(TToken_string& printers);
 | |
| bool os_set_default_printer(const char* name);
 | |
| bool os_get_default_printer(TString& name);
 | |
| 
 | |
| bool os_dongle_server_running();
 | |
| 
 | |
| bool os_test_network_version();
 | |
| 
 | |
| void os_sleep(long m);
 | |
| void os_beep(int severity);
 | |
| 
 | |
| #endif
 |