Sha256: 361cadc1d7745790c163c37f850695547a51002d2d21d37509df40c78086a83d

Contents?: true

Size: 622 Bytes

Versions: 3

Compression:

Stored size: 622 Bytes

Contents

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


#include <boost/shared_ptr.hpp>
#include <reflex/application.h>


@class CocoaApplication;


namespace Reflex
{


	struct Application::Data
	{

		Application* this_;

		CocoaApplication* self_;

		String name;

		Data ()
		:	this_(NULL), self_(nil)
		{
		}

		operator bool () const
		{
			return this_ && self_;
		}

		bool operator ! () const
		{
			return !operator bool();
		}

	};// Application::Data


	typedef boost::shared_ptr<Reflex::Application::Data> ApplicationData;


}// Reflex


#endif//EOH

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reflexion-0.1.3 src/cocoa/applicationdata.h
reflexion-0.1.2 src/cocoa/applicationdata.h
reflexion-0.1.1 src/cocoa/applicationdata.h