/*
	DUALPLAYER V1.02 (c) by Tinic Uro

	Scope class
*/	
#ifndef _S_OBJECT_
#define _S_OBJECT_

#include "zoonic.h"
#include "Dual.h"	// dualplayer object methods

/*
	Callback message ID
*/
#define S_LOOPER_CLOSE	'sccl'

/* 
	Methods
*/
enum
{
	S_OPEN			=0x100,				// void (bool checkprefs)
	S_CLOSE			=0x101,				// void (bool writeprefs)
	S_SETATTR		=B_METHOD_SETATTR,	// int32 (int32 attr, int32 data)
	S_GETATTR		=B_METHOD_GETATTR,	// int32 (int32 attr, int32 data)
};

/*
	Attributes
*/
enum
{
	S_ATTR_PREFS=0x10,					// S--
	S_ATTR_LOOPER,						// S--
	S_ATTR_ID,							// -G-
	S_ATTR_ISOPEN,						// -G-
	S_ATTR_DUALOBJECT,					// S--
};										//
										// |||
										// ||+- Direct return
										// ||
										// |+-- Getable Attribute
										// |
										// +--- Setable Attribute
#endif