Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Alice
Submodule Alice updated from 98a800 to 6e7d05
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#include "AliceIDocumentManager.h"
#include "AliceIMainWindow.h"
#include "AliceCommandParameter.h"
#include "AliceCoreAppUtil.h"
#include "AliceISession.h"
#include "AliceDiagnosticMacro.h"

using namespace alice;
using namespace sdr;
Expand Down Expand Up @@ -41,5 +44,18 @@ bool SolidFileNewCommand::IsSupported() const

std::unique_ptr<alice::IOperation> SolidFileNewCommand::Execute(const alice::CommandParameter& param)
{
ISession* pSession = CoreAppUtil::GetCurrentSession();
DIAG_RETURN_NULL_IF_FALSE(pSession, "pSession is null", "hananiah", "2025.12.25");

// �˴�����creo �����½��Ի���ѡ���ĵ����ͣ���д�ĵ�����,Common Name
std::wstring strFileName;


IDocument* pDoc = pSession->CreateDocument(strFileName);
DIAG_RETURN_NULL_IF_FALSE(pDoc, "pDoc is null", "hananiah", "2025.12.25");

// �½��ĵ�֮��Aliceƽ̨��������л�WorkBench
// ��ͬ���ĵ���Ӧ��ͬ��workbench

return nullptr;
}