Advertisement
BigETI

file_ex_remote.inc

Jun 11th, 2013
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.42 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.  
  17.  
  18.     - Documentation:
  19.  
  20.     ==================================================
  21.  
  22.         - Callbacks:
  23.  
  24.             - public OnFileExError(script_id, F_EX_RES::ENUM:result_id, func_name[], File:file_handle, msg[])
  25.  
  26.                 - Description:
  27.                     - Gets called, if an error occurs at another script, which uses file.inc.
  28.                     - Only usable, if the reporting script has remote error report enabled. ( FILE_EX_ENABLE_REMOTE )
  29.  
  30.                 - Usage:
  31.                     public OnFileExError(script_id, F_EX_RES::ENUM:result_id, func_name[], File:file_handle, msg[])
  32.                     {
  33.                         // ...
  34.                     }
  35.  
  36.     ==================================================
  37. */
  38. #if defined _FILE_EX_REMOTE_INCLUDED_
  39.     #endinput
  40. #endif
  41. #define _FILE_EX_REMOTE_INCLUDED_
  42. #include <file>
  43. #include <file_ex_remote_def>
  44. forward FILE_EX_RES_CB_NAME(script_id, F_EX_RES::ENUM:result_id, func_name[], File:file_handle, msg[]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement