/******************************************************************************/
/***                                                                        ***/
/***  SPdefs.h                                                              ***/
/***                                                                        ***/
/***  Include for use with the "Software Protection Scheme" example code.   ***/
/***                                                                        ***/
/***  Contains definitions required by an application using the example     ***/
/***  code as it is                                                         ***/
/***                                                                        ***/
/***                                                                        ***/
/***                                                                        ***/
/***  Written by N.Critchell, Acorn Computers              5th August 1992  ***/
/***                                                                        ***/
/******************************************************************************/


/******************************************************************************/
/***     External variables which are define in the SP code.                ***/
/******************************************************************************/

 extern char Reg_Number[17];
 extern char LicenceHolder[40];
 extern char LicenceType[16];

/***
     NB. These strings are initalised by the SP code. They are provided so that
     the application can display them when required to do so. Reg_Number is the
     expanded string for for printing only.
***/





/******************************************************************************/
/***     Function Prototype for SP rouintes, called by application.         ***/
/******************************************************************************/

int SoftwareProtectionScheme(int *);

/***
     This is the only call required by an application as all the work, including
     configuration is handled by this call. The application must initialse the
     task, and the application resources before calling it. It will return only
     if the software is running legally, or the user specifies to run illeagally.
     The function returns TRUE, if software is running outside the licence, and
     the passed integer value is set to the window handle of the window left on
     the screen.
***/

