Sha256: 5b6f721135589ce7afc26b4e7453e4f2a66d394342ea85752a01da9889883b6b

Contents?: true

Size: 750 Bytes

Versions: 3

Compression:

Stored size: 750 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __REFLEX_APPLICATION_H__
#define __REFLEX_APPLICATION_H__


#include <xot/ref.h>
#include <xot/pimpl.h>
#include <reflex/defs.h>


namespace Reflex
{


	class Application : public Xot::RefCountable<>
	{

		typedef Application This;

		public:

			typedef Xot::Ref<This> Ref;

			Application ();

			virtual bool run ();

			virtual bool quit ();

			virtual bool preference ();

			virtual bool about ();

			virtual bool    set_name (const char* name);

			virtual const char* name () const;

			operator bool () const;

			bool operator ! () const;

			struct Data;

			Xot::PImpl<Data, true> self;

		protected:

			virtual ~Application ();

	};// Application


	Application* app ();


}// Reflex


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reflexion-0.1.6 include/reflex/application.h
reflexion-0.1.5 include/reflex/application.h
reflexion-0.1.4 include/reflex/application.h