feat: modules moved and engine moved to submodule
This commit is contained in:
parent
dfb5e645cd
commit
c33d2130cc
5136 changed files with 225275 additions and 64485 deletions
|
|
@ -28,8 +28,7 @@
|
|||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/**************************************************************************/
|
||||
|
||||
#ifndef CAMERA_SERVER_H
|
||||
#define CAMERA_SERVER_H
|
||||
#pragma once
|
||||
|
||||
#include "core/object/class_db.h"
|
||||
#include "core/object/ref_counted.h"
|
||||
|
|
@ -65,6 +64,7 @@ private:
|
|||
protected:
|
||||
static CreateFunc create_func;
|
||||
|
||||
bool monitoring_feeds = false;
|
||||
Vector<Ref<CameraFeed>> feeds;
|
||||
|
||||
static CameraServer *singleton;
|
||||
|
|
@ -89,6 +89,9 @@ public:
|
|||
return server;
|
||||
}
|
||||
|
||||
virtual void set_monitoring_feeds(bool p_monitoring_feeds);
|
||||
_FORCE_INLINE_ bool is_monitoring_feeds() const { return monitoring_feeds; }
|
||||
|
||||
// Right now we identify our feed by it's ID when it's used in the background.
|
||||
// May see if we can change this to purely relying on CameraFeed objects or by name.
|
||||
int get_free_id();
|
||||
|
|
@ -112,5 +115,3 @@ public:
|
|||
};
|
||||
|
||||
VARIANT_ENUM_CAST(CameraServer::FeedImage);
|
||||
|
||||
#endif // CAMERA_SERVER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue