Build and verify the candidate-only FreeCAD naming bridge and OCCT worker path, including three-stage StringHasher restoration. Add Datum, ShapeBinder, attachment-mode, and PartDesign structure oracles plus offline SDK build plans and CI boundary checks.
42 lines
642 B
C++
42 lines
642 B
C++
#ifndef SRC_APP_APPLICATION_H_
|
|
#define SRC_APP_APPLICATION_H_
|
|
|
|
#include <set>
|
|
#include <string>
|
|
|
|
namespace App {
|
|
|
|
class Document;
|
|
|
|
class ProbeSignal
|
|
{
|
|
public:
|
|
template<typename Callback>
|
|
void connect(Callback&&)
|
|
{}
|
|
};
|
|
|
|
class Application
|
|
{
|
|
public:
|
|
Document* getActiveDocument() const
|
|
{
|
|
return nullptr;
|
|
}
|
|
|
|
ProbeSignal signalStartSaveDocument;
|
|
ProbeSignal signalFinishSaveDocument;
|
|
ProbeSignal signalStartRestoreDocument;
|
|
ProbeSignal signalFinishRestoreDocument;
|
|
};
|
|
|
|
inline Application& GetApplication()
|
|
{
|
|
static Application application;
|
|
return application;
|
|
}
|
|
|
|
} // namespace App
|
|
|
|
#endif
|