Advertisement
BigETI

file_ex_remote_def.inc

Jun 11th, 2013
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.25 KB | None | 0 0
  1. /*
  2.     FileEx (Extended file functions controlling and debugging script) made by BigETI © 2013
  3.    
  4.     file_ex.inc allows you to control and debug your scripts which uses file functions from file.inc
  5.     Also by defining FILE_EX_ENABLE_REMOTE you allow your main script to send error messages to other scripts.
  6.  
  7.  
  8.  
  9.     - Links:
  10.     ==================================================
  11.         - file_ex.inc:              http://pastebin.com/w3S4YYv2
  12.         - file_ex_remote_def.inc:   http://pastebin.com/KNjpZkmP
  13.         - file_ex_remote.inc        http://pastebin.com/Vsf3Wd8j
  14.     ==================================================
  15. */
  16. #if defined _FILE_EX_REMOTE_DEF_INCLUDED_
  17.     #endinput
  18. #endif
  19. #define _FILE_EX_REMOTE_DEF_INCLUDED_
  20. #if defined _FILE_EX_INCLUDED_
  21.     #if !defined FILE_EX_SCRIPT_ID
  22.         #error  Please define "FILE_EX_SCRIPT_ID" with an unique ID to be indetified properly from all scripts.
  23.     #endif
  24. #endif
  25. #if !defined FILE_EX_RES_CB_NAME
  26.     #define FILE_EX_RES_CB_NAME OnFileExError
  27. #endif
  28. #if !defined FILE_EX_RES_CB_NAME_STR
  29.     #define FILE_EX_RES_CB_NAME_STR "OnFileExError"
  30. #endif
  31. #if !defined _FILE_EX_INCLUDED_
  32. enum f_ex_res_ENUM
  33. {
  34.     f_ex_res_OK,
  35.     f_ex_res_INV_FILE_ACCESS,
  36.     f_ex_res_INV_TEMP_FILE_ACCESS,
  37.     f_ex_res_INV_FILE_S_PTR,
  38.     f_ex_res_EOF
  39. }
  40.     #define F_EX_RES::  f_ex_res_
  41. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement