File: PerlOGREWindowEventListener.h

package info (click to toggle)
libogre-perl 0.60-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,844 kB
  • ctags: 459
  • sloc: perl: 6,204; cpp: 507; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 761 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef _PERLOGRE_WINDOWEVENTLISTENER_H_
#define _PERLOGRE_WINDOWEVENTLISTENER_H_

#include "PerlOGRECallback.h"

using namespace std;

// this class implements Ogre::WindowEventListener,
// so it can be passed to WindowEventUtilities::addWindowEventListener
// but still allowing implementing the callbacks from Perl

class PerlOGREWindowEventListener : public PerlOGRECallback, public Ogre::WindowEventListener
{
 public:
    PerlOGREWindowEventListener(SV *pobj);

    // WindowEventListener interface
    void windowMoved(Ogre::RenderWindow *win);
    void windowResized(Ogre::RenderWindow *win);
    void windowClosed(Ogre::RenderWindow *win);
    void windowFocusChange(Ogre::RenderWindow *win);
};


#endif  /* define _PERLOGRE_WINDOWEVENTLISTENER_H_ */