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

« back to all changes in this revision

Viewing changes to Wrappers/MyGUI_Export/ExportMarshalingType.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           01/2009
 
5
        @module
 
6
*/
 
7
 
 
8
#ifndef _df0a1361_ff6e_4b10_8c28_9638c612ff54_
 
9
#define _df0a1361_ff6e_4b10_8c28_9638c612ff54_
 
10
 
 
11
#include "Generate/MyGUI_Export_MarshalingWidget.h"
 
12
 
 
13
namespace Export
 
14
{
 
15
 
 
16
        template <> struct Convert< const MyGUI::DDItemInfo& >
 
17
        {
 
18
                struct DDItemInfo
 
19
                {
 
20
                        Convert<MyGUI::DDContainer*>::Type sender;
 
21
                        size_t sender_index;
 
22
                        Convert<MyGUI::DDContainer*>::Type receiver;
 
23
                        size_t receiver_index;
 
24
                };
 
25
 
 
26
                typedef const DDItemInfo& Type;
 
27
                static DDItemInfo mHolder;
 
28
                inline static const DDItemInfo& To(const MyGUI::DDItemInfo& _value)
 
29
                {
 
30
                        mHolder.sender = Convert<MyGUI::DDContainer*>::To(_value.sender);
 
31
                        mHolder.sender_index = _value.sender_index;
 
32
                        mHolder.receiver = Convert<MyGUI::DDContainer*>::To(_value.receiver);
 
33
                        mHolder.receiver_index = _value.receiver_index;
 
34
                        return mHolder;
 
35
                }
 
36
        };
 
37
 
 
38
}
 
39
 
 
40
#endif