summaryrefslogtreecommitdiffhomepage
path: root/logic/runtime-libraries.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-12-18 09:05:25 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-12-18 09:12:55 +0100
commitc2f88ee8bec8cdd0ea573b54aee89a241c7d4deb (patch)
tree3b311ad8bec8c05bf82e4f7ef77ace6468798fb4 /logic/runtime-libraries.cpp
parent6167effc23b8ca8a3034f1ab465565f92c621187 (diff)
plugins: rename check_status -> initialize
It's a contract for plugin invocation that the particular function fills the role of initialization. Rename accordingly.
Diffstat (limited to 'logic/runtime-libraries.cpp')
-rw-r--r--logic/runtime-libraries.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/runtime-libraries.cpp b/logic/runtime-libraries.cpp
index bfa7f2a4..46a90b86 100644
--- a/logic/runtime-libraries.cpp
+++ b/logic/runtime-libraries.cpp
@@ -17,7 +17,7 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli
if (!pProtocol)
goto end;
- if(status = pProtocol->check_status(), !status.is_ok())
+ if(status = pProtocol->initialize(), !status.is_ok())
{
status = otr_tr("Error occured while loading protocol %1\n\n%2\n")
.arg(p->name).arg(status.error);
@@ -34,7 +34,7 @@ runtime_libraries::runtime_libraries(QFrame* frame, dylibptr t, dylibptr p, dyli
}
if (pFilter)
- if(status = pFilter->check_status(), !status.is_ok())
+ if(status = pFilter->initialize(), !status.is_ok())
{
status = otr_tr("Error occured while loading filter %1\n\n%2\n")
.arg(f->name).arg(status.error);