mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-01-06 03:29:55 -06:00
Implemented guest-to-host function pointers (#7)
* Implemented guest-to-host function pointers (WIP) Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com> * function: support more types for function pointers * api: ported BlueBlur headers and misc. research * Move over function-pointers changes from options-menu branch. --------- Co-authored-by: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
This commit is contained in:
25
UnleashedRecomp/api/SWA/CSD/CsdDatabaseWrapper.h
Normal file
25
UnleashedRecomp/api/SWA/CSD/CsdDatabaseWrapper.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
#include "boost/smart_ptr/shared_ptr.h"
|
||||
|
||||
namespace Hedgehog::Database
|
||||
{
|
||||
class CDatabase;
|
||||
}
|
||||
|
||||
namespace SWA
|
||||
{
|
||||
class CCsdProject;
|
||||
|
||||
class CCsdDatabaseWrapper
|
||||
{
|
||||
public:
|
||||
Hedgehog::Database::CDatabase* m_pDatabase;
|
||||
|
||||
CCsdDatabaseWrapper(Hedgehog::Database::CDatabase* in_pDatabase) : m_pDatabase(in_pDatabase) {}
|
||||
|
||||
boost::shared_ptr<CCsdProject> GetCsdProject(const Hedgehog::Base::CSharedString& in_rName);
|
||||
};
|
||||
}
|
||||
|
||||
#include "SWA/CSD/CsdDatabaseWrapper.inl"
|
||||
Reference in New Issue
Block a user