wiRedPanda
Logic Circuit Simulator
Loading...
Searching...
No Matches
ContextDirProvider Class Referenceabstract

Narrow interface exposing a scene's context directory. More...

#include <ContextDirProvider.h>

Inheritance diagram for ContextDirProvider:
[legend]

Public Member Functions

virtual QString contextDir () const =0
 Returns the directory of the .panda file associated with the scene.
virtual ~ContextDirProvider ()=default

Detailed Description

Narrow interface exposing a scene's context directory.

Lets Scene::deserializationContext() populate SerializationContext::contextDir without the Element layer needing to name the concrete Scene class.

Definition at line 19 of file ContextDirProvider.h.

Constructor & Destructor Documentation

◆ ~ContextDirProvider()

virtual ContextDirProvider::~ContextDirProvider ( )
virtualdefault

Member Function Documentation

◆ contextDir()

virtual QString ContextDirProvider::contextDir ( ) const
pure virtual

Returns the directory of the .panda file associated with the scene.

Implemented in Scene.


The documentation for this class was generated from the following file: