~ubuntu-branches/ubuntu/trusty/ginkgocadx/trusty

« back to all changes in this revision

Viewing changes to src/cadxcore/eventos/scgenerated.h

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-07-21 11:58:53 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: package-import@ubuntu.com-20130721115853-44e7n1xujqglu78e
Tags: 3.4.0.928.29+dfsg-1
* New upstream release [July 2013]
  + new B-D: "libjsoncpp-dev".
  + new patch "unbundle-libjsoncpp.patch" to avoid building bundled
    "libjsoncpp-dev".
  + new patch "fix-wx.patch" to avoid FTBFS due to missing
    "-lwx_gtk2u_html-2.8".
* Removed unnecessary versioned Build-Depends.
* Removed obsolete lintian override.
* Reference get-orig-source implementation for orig.tar clean-up and
  DFSG-repackaging.
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
*  
 
3
*  $Id: views.h $
 
4
*  Ginkgo CADx Project
 
5
*
 
6
*  Copyright 2008-12 MetaEmotion S.L. All rights reserved.
 
7
*  http://ginkgo-cadx.com
 
8
*
 
9
*  This file is licensed under LGPL v3 license.
 
10
*  See License.txt for details
 
11
*
 
12
*/
 
13
#pragma once
 
14
 
 
15
#include <api/ievento.h>
 
16
#include "eventosginkgo.h"
 
17
 
 
18
namespace GNC {
 
19
        namespace GCS {
 
20
                class IVista;
 
21
                namespace Events {
 
22
 
 
23
                        class EXTAPI SCGeneratedEvent : public GNC::GCS::Events::IEvent
 
24
                        {               
 
25
 
 
26
                        public:
 
27
                                SCGeneratedEvent(GNC::GCS::IVista* pView = NULL, const std::list<long>& newSeriesId = std::list<long>()) : GNC::GCS::Events::IEvent(ginkgoEVT_Core_SCGenerated, 0, 100, NULL),
 
28
                                        m_pView(pView),
 
29
                                        m_seriesId(newSeriesId)
 
30
                                {
 
31
                                        m_Nombre = "SCGeneratedEvent";  
 
32
                                }
 
33
 
 
34
                                ~SCGeneratedEvent()
 
35
                                {
 
36
                                }
 
37
 
 
38
                                const std::list<long>& GetSeriesId() {
 
39
                                        return m_seriesId;
 
40
                                }
 
41
 
 
42
                                GNC::GCS::IVista* GetView()
 
43
                                {
 
44
                                        return m_pView;
 
45
                                }                               
 
46
 
 
47
                                virtual void pushInfo(std::ostream& /*out*/) const {
 
48
                                }
 
49
 
 
50
                                private:
 
51
                                        GNC::GCS::IVista* m_pView;
 
52
                                        std::list<long> m_seriesId;
 
53
                        };
 
54
                }
 
55
        }
 
56
}