Smart CODE
Your on-line guide to the generated code

NAME
CustomizerGetSetProc - access functions for customizer properties

INTRODUCTION
The connection parameters for Internet programming are setup int the appropriate Smart Code customizer dialog. They can be set up as constants (ie strings), variables, or (most flexibly) as functions/classes.

This routine has full access to the group object, so your application can configure its internet connectivity at runtime, from data provided by the user.

SYNOPSIS

C

typedef char * (CustomizerGetProc)( AnyGroup_t*)
	AnyGroup_t* ingroup;

typedef void   (CustomizerSetProc)( AnyGroup_t*, char*)
	AnyGroup_t* ingroup;
	char* value;
C++

class HANDLERNAME_c: public sc_getset_c
{
	private:
		GROUPNAME_c * group;
		char * value;

	public:
		HANDLERNAME_c( sc_group_c * g);

		char * get();
		void   set( char * value);
};
Java

public class HANDLERNAME_c extends SCGetSet
{
	SCGroup  mygroup;
	public HANDLERNAME_c( SCGroup g)
	{
		mygroup = g;
	}

	public SCGroup getGroup() { return mygroup; }


	public void set( String val) {}
	public String get() { return null; }
}

Inputs

Returns
Other Notes
GROUPNAME and HANDLERNAME will be replaced in the generated code by the name you have given to your group, and your Handler function.

DESCRIPTION

USAGE

EXAMPLES
Runtime control of URL connection example
LanguageUsageComments
C

     

C++

     

Java

     

SEE ALSO