summaryrefslogtreecommitdiffstats
path: root/podboat.cpp
diff options
context:
space:
mode:
authorzaowen <penguinking1991@gmail.com>2018-10-04 10:13:13 -0600
committerAlexander Batischev <eual.jp@gmail.com>2018-10-06 11:47:14 +0300
commita6772ae71e173e65111c7c84bf82ba3185249849 (patch)
tree755a795323ea771bfda62944ec24608ecedcf39c /podboat.cpp
parent879b14a17a579d4901cb6df0c82db7407ce36866 (diff)
Implement new naming style
Diffstat (limited to 'podboat.cpp')
-rw-r--r--podboat.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/podboat.cpp b/podboat.cpp
index 7fa995f8..f36eb5cd 100644
--- a/podboat.cpp
+++ b/podboat.cpp
@@ -4,15 +4,15 @@
#include "config.h"
#include "exception.h"
-#include "pb_controller.h"
-#include "pb_view.h"
+#include "pbcontroller.h"
+#include "pbview.h"
#include "utils.h"
using namespace podboat;
int main(int argc, char* argv[])
{
- utils::initialize_ssl_implementation();
+ Utils::initialize_ssl_implementation();
setlocale(LC_CTYPE, "");
setlocale(LC_MESSAGES, "");
@@ -20,16 +20,16 @@ int main(int argc, char* argv[])
bindtextdomain(PACKAGE, LOCALEDIR);
textdomain(PACKAGE);
- pb_controller c;
+ PbController c;
int ret;
try {
- podboat::pb_view v(&c);
+ podboat::PbView v(&c);
c.set_view(&v);
ret = c.run(argc, argv);
- } catch (const newsboat::exception& e) {
- std::cerr << strprintf::fmt(_("Caught newsboat::exception with "
+ } catch (const newsboat::Exception& e) {
+ std::cerr << StrPrintf::fmt(_("Caught newsboat::Exception with "
"message: %s"),
e.what())
<< std::endl;