Changeset 13041 for OpenSceneGraph/trunk/include/osgWidget/VncClient
- Timestamp:
- 03/21/12 18:36:20 (15 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgWidget/VncClient (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgWidget/VncClient
r12292 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 */ … … 25 25 { 26 26 public: 27 27 28 28 VncImage() {} 29 29 30 30 virtual bool connect(const std::string& hostname) = 0; 31 31 … … 33 33 34 34 protected: 35 35 36 36 virtual ~VncImage() {} 37 37 38 38 }; 39 39 … … 43 43 { 44 44 public: 45 45 46 46 VncClient() {} 47 47 48 48 VncClient(const std::string& hostname, const GeometryHints& hints = GeometryHints()); 49 49 50 50 bool assign(VncImage* vncImage, const GeometryHints& hints = GeometryHints()); 51 51 52 52 bool connect(const std::string& hostname, const GeometryHints& hints = GeometryHints()); 53 53 … … 55 55 56 56 protected: 57 57 58 58 osg::ref_ptr<VncImage> _vncImage; 59 59 };
