~ubuntu-branches/ubuntu/vivid/mygui/vivid

« back to all changes in this revision

Viewing changes to Wrappers/MyGUI.Export/ExportDefine.h

  • Committer: Package Import Robot
  • Author(s): Scott Howard, Bret Curtis, Scott Howard
  • Date: 2014-09-18 17:57:48 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140918175748-dd8va78mvpw1jbes
Tags: 3.2.1-1
[ Bret Curtis ]
* Updated license for majority of files from LGPL to Expat (MIT)

[ Scott Howard ]
* New upstream release
* Updated patch to add build option for system GLEW libraries
* All patches accepted upstream except shared_libraries.patch
* Bumped SONAME due to dropped symbols, updated *.symbols and package
  names
* Updated license of debian/* to Expat with permission of all authors
* Don't install Doxygen autogenerated md5 and map files (thanks
  lintian)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*!
2
 
        @file
3
 
        @author         Albert Semenov
4
 
        @date           11/2007
5
 
        @module
6
 
*/
7
 
#ifndef __EXPORT_DEFINE_H__
8
 
#define __EXPORT_DEFINE_H__
9
 
 
10
 
#define MYGUIEXPORT extern "C" __declspec( dllexport )
11
 
#define MYGUICALL __cdecl
12
 
#define MYGUICALLBACK __stdcall
13
 
 
14
 
#include <MyGUI.h>
15
 
 
16
 
namespace Export
17
 
{
18
 
        // ��� ��� C# object
19
 
        typedef int* IUnknown;
20
 
        // ��� ��� ������ ������� C#
21
 
        typedef int* Interface;
22
 
 
23
 
        // �������� ������� �� ������
24
 
        Interface CreateWrapper(MyGUI::WidgetPtr _widget);
25
 
        // ���������� ������, ������������� �������
26
 
        MyGUI::WidgetPtr GetNativeByWrapper(Interface _wrapper);
27
 
}
28
 
 
29
 
#endif // __EXPORT_DEFINE_H__