~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/gameengine/Network/LoopBackNetwork/NG_LoopBackNetworkDeviceInterface.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include "NG_NetworkDeviceInterface.h"
37
37
 
38
38
class NG_LoopBackNetworkDeviceInterface : public NG_NetworkDeviceInterface
39
 
{       
 
39
{
40
40
        std::deque<NG_NetworkMessage*> m_messages[2];
41
41
        int             m_currentQueue;
42
42
 
45
45
        virtual ~NG_LoopBackNetworkDeviceInterface();
46
46
 
47
47
        /**
48
 
          * Clear message buffer
49
 
          */
 
48
         * Clear message buffer
 
49
         */
50
50
        virtual void NextFrame();
51
51
 
52
52
        bool Connect(char *address, unsigned int port, char *password,
53
 
                     unsigned int localport, unsigned int timeout) {
54
 
                return true;}
 
53
                     unsigned int localport, unsigned int timeout)
 
54
        {
 
55
                return true;
 
56
        }
55
57
        bool Disconnect(void) {return true;}
56
58
 
57
59
        virtual void SendNetworkMessage(class NG_NetworkMessage* msg);
58
60
        virtual std::vector<NG_NetworkMessage*>         RetrieveNetworkMessages();
59
61
};
60
62
 
61
 
#endif //__NG_LOOPBACKNETWORKDEVICEINTERFACE_H__
62
 
 
 
63
#endif  /* __NG_LOOPBACKNETWORKDEVICEINTERFACE_H__ */