Skip to content

Commit

Permalink
chore: add comment
Browse files Browse the repository at this point in the history
Log:
Change-Id: I1f03fc39bc8e85926751eccb83e9390705a9f0c3
  • Loading branch information
deepin-mozart committed Nov 14, 2024
1 parent 7342382 commit 2a65e1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/framework/framework.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class DPF_EXPORT Framework

DPF_END_NAMESPACE

// use this define instead of long expression
#define dpfInstance ::dpf::Framework::instance()
#define dpfContext dpfInstance.serviceContext()
#define dpfGetService(T) dpfInstance.serviceContext().service<T>(T::name())
Expand Down

0 comments on commit 2a65e1b

Please sign in to comment.