~3v1n0/unity/light-shortcuts

« back to all changes in this revision

Viewing changes to tests/test-gestures/NuxMock.h

  • Committer: Marco Trevisan (Treviño)
  • Date: 2013-04-26 12:41:09 UTC
  • Revision ID: mail@3v1n0.net-20130426124109-t3b2shjah2omiqa2
Unity: Remove all the views, but the Shortcuts

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef NUX_MOCK_H
2
 
#define NUX_MOCK_H
3
 
 
4
 
#include <Nux/Nux.h>
5
 
 
6
 
namespace nux
7
 
{
8
 
 
9
 
class InputAreaMock : public Object
10
 
{
11
 
  public:
12
 
    void GestureEvent(const GestureEvent &event)
13
 
    {
14
 
    } 
15
 
};
16
 
 
17
 
class ViewMock : public InputAreaMock
18
 
{
19
 
  public:
20
 
    sigc::signal<void, int, int, unsigned long, unsigned long> mouse_down;
21
 
    sigc::signal<void, int, int, unsigned long, unsigned long> mouse_up;
22
 
    sigc::signal<void, int, int, int, int, unsigned long, unsigned long> mouse_drag;
23
 
};
24
 
 
25
 
} // namespace nux
26
 
 
27
 
#endif // NUX_MOCK_H