[gnote] Remove link hacks



commit 7312e64bdf1a72a93b89276c5c05a5e02617624b
Author: Aurimas Äernius <aurisc4 gmail com>
Date:   Sat Dec 29 17:32:25 2012 +0200

    Remove link hacks
    
    No longer needed as it's all in a library now.

 src/base/inifile.cpp           |    3 +--
 src/base/inifile.hpp           |    3 +--
 src/sharp/fileinfo.cpp         |    5 +----
 src/sharp/fileinfo.hpp         |    5 +----
 src/sharp/streamwriter.cpp     |    3 +--
 src/sharp/streamwriter.hpp     |    4 +---
 src/sharp/xsltargumentlist.cpp |    3 +--
 src/sharp/xsltargumentlist.hpp |    3 +--
 src/sharp/xsltransform.cpp     |    3 +--
 src/sharp/xsltransform.hpp     |    3 +--
 10 files changed, 10 insertions(+), 25 deletions(-)
---
diff --git a/src/base/inifile.cpp b/src/base/inifile.cpp
index 304dd6d..846c4d2 100644
--- a/src/base/inifile.cpp
+++ b/src/base/inifile.cpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -31,8 +32,6 @@
 
 namespace base {
 
-const bool IniFileLink_ = true;
-
 
 bool IniFile::load()
 {
diff --git a/src/base/inifile.hpp b/src/base/inifile.hpp
index 9905a9f..fae0326 100644
--- a/src/base/inifile.hpp
+++ b/src/base/inifile.hpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -31,8 +32,6 @@
 namespace base {
 
 
-extern const bool IniFileLink_;
-
 class IniFile
 {
 public:
diff --git a/src/sharp/fileinfo.cpp b/src/sharp/fileinfo.cpp
index 846dd34..b3c0d1f 100644
--- a/src/sharp/fileinfo.cpp
+++ b/src/sharp/fileinfo.cpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2011 Aurimas Cernius
+ * Copyright (C) 2011-2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -33,9 +33,6 @@
 namespace sharp {
 
 
-  bool FileInfoLink_ = true;
-
-
   FileInfo::FileInfo(const std::string & s)
     : m_path(s)
   {
diff --git a/src/sharp/fileinfo.hpp b/src/sharp/fileinfo.hpp
index fecf90d..e92ad7e 100644
--- a/src/sharp/fileinfo.hpp
+++ b/src/sharp/fileinfo.hpp
@@ -1,7 +1,7 @@
 /*
  * gnote
  *
- * Copyright (C) 2011 Aurimas Cernius
+ * Copyright (C) 2011-2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -35,9 +35,6 @@
 namespace sharp {
 
 
-  extern bool FileInfoLink_;
-
-
 class FileInfo
 {
 public:
diff --git a/src/sharp/streamwriter.cpp b/src/sharp/streamwriter.cpp
index 732a54c..651b34a 100644
--- a/src/sharp/streamwriter.cpp
+++ b/src/sharp/streamwriter.cpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -33,8 +34,6 @@
 namespace sharp {
 
 
-  bool StreamWriterLink_ = true;
-
 StreamWriter::StreamWriter()
   : m_file(NULL)
 {
diff --git a/src/sharp/streamwriter.hpp b/src/sharp/streamwriter.hpp
index 8993c81..938da92 100644
--- a/src/sharp/streamwriter.hpp
+++ b/src/sharp/streamwriter.hpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -36,10 +37,7 @@
 namespace sharp {
 
 
-  extern bool StreamWriterLink_;
-
 class StreamWriter
-//  : public TextWriter
 {
 public:
   StreamWriter();
diff --git a/src/sharp/xsltargumentlist.cpp b/src/sharp/xsltargumentlist.cpp
index ab1070c..4fa3ba4 100644
--- a/src/sharp/xsltargumentlist.cpp
+++ b/src/sharp/xsltargumentlist.cpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -32,8 +33,6 @@
 
 namespace sharp {
 
-  bool XsltArgumentListLink_ = true;
-
 void XsltArgumentList::add_param(const char* name, const char * /*uri*/, const std::string & value)
 {
   std::string pv = str(boost::format("\"%1%\"") % value);
diff --git a/src/sharp/xsltargumentlist.hpp b/src/sharp/xsltargumentlist.hpp
index 907469d..586e677 100644
--- a/src/sharp/xsltargumentlist.hpp
+++ b/src/sharp/xsltargumentlist.hpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -34,8 +35,6 @@
 
 namespace sharp {
 
-  extern bool XsltArgumentListLink_;
-
 /** argument list for %XslTransform */
 class XsltArgumentList
 {
diff --git a/src/sharp/xsltransform.cpp b/src/sharp/xsltransform.cpp
index 45ae362..00b7b80 100644
--- a/src/sharp/xsltransform.cpp
+++ b/src/sharp/xsltransform.cpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -33,8 +34,6 @@
 
 namespace sharp {
 
-  bool XslTransformLink_ = true;;
-
 
 XslTransform:: XslTransform()
   : m_stylesheet(NULL)
diff --git a/src/sharp/xsltransform.hpp b/src/sharp/xsltransform.hpp
index 5699b41..78032f4 100644
--- a/src/sharp/xsltransform.hpp
+++ b/src/sharp/xsltransform.hpp
@@ -1,6 +1,7 @@
 /*
  * gnote
  *
+ * Copyright (C) 2012 Aurimas Cernius
  * Copyright (C) 2009 Hubert Figuiere
  * 
  * Permission is hereby granted, free of charge, to any person obtaining a
@@ -40,8 +41,6 @@
 
 namespace sharp {
 
-  extern bool XslTransformLink_;
-
 class XmlResolver;
 
 class XslTransform



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]