-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use namespace to avoid config collision with chinese-addons (#12)
- Loading branch information
1 parent
9123b40
commit 9358efc
Showing
4 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#include "factory.h" | ||
#include "hallelujah.h" | ||
|
||
namespace fcitx { | ||
namespace fcitx::hallelujah { | ||
AddonInstance *HallelujahFactory::create(AddonManager *manager) { | ||
return new HallelujahEngine(manager->instance()); | ||
} | ||
} // namespace fcitx | ||
} // namespace fcitx::hallelujah | ||
|
||
FCITX_ADDON_FACTORY_V2(hallelujah, fcitx::HallelujahFactory) | ||
FCITX_ADDON_FACTORY_V2(hallelujah, fcitx::hallelujah::HallelujahFactory) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters