RapidXLL Team
Simple.hpp       Simple_B.hpp       Simple_C.hpp


//
// Copyright(c) BreezeWay Software Corporation.  
// All rights reserved.
// 
//                    Simple_C.hpp
//
//       Simple_C.hpp contains examples of :
//              RXLL_OpenMsgBox   = Openning Msg Box
//              RXLL_CloseMsgBox  = Closing Msg Box
//              RXLL_FileCategory = Default function category 
//              RXLL_FilePrefix   = Default function prefix 
//              RXLL_InitFunc     = XLL Init Function (called after openning)
//              RXLL_FinishFunc   = XLL Finish Function (called before closing)
//
//  FEATURE                        MEANING
//  ------------------------       -------------------------------------------
//
//  These are File based features control all functions in the same file
//
//              RXLL_FileCategory = Default function category 
//              RXLL_FilePrefix   = Default function prefix 
//
//  These are features initialize / finalize parts of your library
//
//              RXLL_InitFunc     = XLL Init Function (called after openning)
//              RXLL_FinishFunc   = XLL Finish Function (called before closing)
//
//  These are features notify the user upon openning / closing your Add-In
//
//              RXLL_OpenMsgBox   = Openning Msg Box
//              RXLL_CloseMsgBox  = Closing Msg Box
//

#include <RapidXLL.hpp>      // API  ( REQUIRED )

/* RapidXLL

 * RXLL_FileCategory =  RXLL_Cat
 * RXLL_FilePrefix   =  RXLL

 * RXLL_InitFunction =  SimpleControl::InitializeNotificationMessage
 * RXLL_FinishFunction =  SimpleControl::NotifyUserOnClose

 * RXLL_OpenMsgBox =  Hello. Thank you for using RapidXLL.
 * RXLL_CloseMsgBox =  Bye. Thank you for using RapidXLL.
 */

namespace SimpleControl
{

  //------------------------------------------------
  //  RAPID_EXPORT should not be used for initialization/finalization functions
  __declspec(dllexport)
  string InitializeNotificationMessage(const string& initialMessage = 
				       "Default Message");

  //------------------------------------------------
  __declspec(dllexport)
  void   NotifyUserOnClose();

  //-------------------------------------------------
  /* RXLL 
   * Help = Allows you to specify your closing message
   */
  RAPID_EXPORT
  string SetNotify(const string& newMessage);

} // end of namespace

namespace SimpleNS
{
  //-----------------------------------------------------------------------
  /*  Rapid
   *  Help = This function takes various inputs.  
   *  Help = #Value! is displayed if an input is inappropriate for a variable.
   *  Help a = a number
   *  Help d = a date ( or number )
   *  Help s = a string
   *  Help b = a boolean
   *  Help v = anything single value type including Errors (#N/A, #NAME?,... )
   *  Help r = a range of values of any type
   */
  RAPID_EXPORT
  RapidXLL::RapidRange   VariableVariables(const double a,
					   const RapidXLL::RapidDateTime d,
					   const string& s,
					   const bool b,
					   const RapidXLL::RapidVariant v,
					   const RapidXLL::RapidRange r);

}


Home    Products    Contact Us    Download    Buy Now