From 3aac125c18cc3f4703f8f6009de210b730ff1e5c Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Thu, 4 Mar 2010 21:44:38 +0000 Subject: [PATCH] Add copyright notices in cutecash source code files. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18825 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnc/Account.hpp | 22 ++++++++++++++++++++++ src/gnc/AccountItemModel.hpp | 22 ++++++++++++++++++++++ src/gnc/Book.cpp | 22 ++++++++++++++++++++++ src/gnc/Book.hpp | 22 ++++++++++++++++++++++ src/gnc/ScopedPointer.hpp | 24 +++++++++++++++++++++++- src/gnc/Session.cpp | 22 ++++++++++++++++++++++ src/gnc/Session.hpp | 22 ++++++++++++++++++++++ src/gnc/WeakPointer.hpp | 24 +++++++++++++++++++++++- src/gnc/main.cpp | 3 ++- src/gnc/mainwindow.cpp | 22 ++++++++++++++++++++++ src/gnc/mainwindow.hpp | 22 ++++++++++++++++++++++ 11 files changed, 224 insertions(+), 3 deletions(-) diff --git a/src/gnc/Account.hpp b/src/gnc/Account.hpp index b780f50366..275cbd52c6 100644 --- a/src/gnc/Account.hpp +++ b/src/gnc/Account.hpp @@ -1,3 +1,25 @@ +/* + * Account.hpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #ifndef GNC_ACCOUNT_HPP #define GNC_ACCOUNT_HPP diff --git a/src/gnc/AccountItemModel.hpp b/src/gnc/AccountItemModel.hpp index 77c0dc7c03..7215bf1b9b 100644 --- a/src/gnc/AccountItemModel.hpp +++ b/src/gnc/AccountItemModel.hpp @@ -1,3 +1,25 @@ +/* + * AccountItemModel.hpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #ifndef GNC_ACCOUNTITEMMODEL_HPP #define GNC_ACCOUNTITEMMODEL_HPP diff --git a/src/gnc/Book.cpp b/src/gnc/Book.cpp index 574626e41e..157dc94363 100644 --- a/src/gnc/Book.cpp +++ b/src/gnc/Book.cpp @@ -1,3 +1,25 @@ +/* + * Book.cpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #include "config.h" #include "gnc/Book.hpp" #include "gnc/Account.hpp" diff --git a/src/gnc/Book.hpp b/src/gnc/Book.hpp index bb7e0b00d7..2cbecf6240 100644 --- a/src/gnc/Book.hpp +++ b/src/gnc/Book.hpp @@ -1,3 +1,25 @@ +/* + * Book.hpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #ifndef GNC_BOOK_HPP #define GNC_BOOK_HPP diff --git a/src/gnc/ScopedPointer.hpp b/src/gnc/ScopedPointer.hpp index 5cecea1e57..21d23d80ff 100644 --- a/src/gnc/ScopedPointer.hpp +++ b/src/gnc/ScopedPointer.hpp @@ -1,3 +1,25 @@ +/* + * ScopedPointer.hpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #ifndef GNC_SCOPEDPOINTER_HPP #define GNC_SCOPEDPOINTER_HPP @@ -65,7 +87,7 @@ public: typedef T * (this_type::*unspecified_bool_type)() const; operator unspecified_bool_type() const // never throws { - return m_ptr == 0? 0: &this_type::get; + return m_ptr == 0 ? 0 : &this_type::get; } bool operator! () const // never throws diff --git a/src/gnc/Session.cpp b/src/gnc/Session.cpp index 2c66f0c57d..94b232be9c 100644 --- a/src/gnc/Session.cpp +++ b/src/gnc/Session.cpp @@ -1,3 +1,25 @@ +/* + * Session.cpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #include "config.h" #include "gnc/Session.hpp" #include "gnc/Book.hpp" diff --git a/src/gnc/Session.hpp b/src/gnc/Session.hpp index 9be4658535..efed430618 100644 --- a/src/gnc/Session.hpp +++ b/src/gnc/Session.hpp @@ -1,3 +1,25 @@ +/* + * Session.hpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #ifndef GNC_SESSION_HPP #define GNC_SESSION_HPP diff --git a/src/gnc/WeakPointer.hpp b/src/gnc/WeakPointer.hpp index 064d7be119..64404d3e43 100644 --- a/src/gnc/WeakPointer.hpp +++ b/src/gnc/WeakPointer.hpp @@ -1,3 +1,25 @@ +/* + * WeakPointer.hpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #ifndef GNC_WEAKPOINTER_HPP #define GNC_WEAKPOINTER_HPP @@ -53,7 +75,7 @@ public: typedef T * this_type::*unspecified_bool_type; operator unspecified_bool_type() const // never throws { - return m_ptr == 0? 0: &this_type::m_ptr; + return m_ptr == 0 ? 0 : &this_type::m_ptr; } bool operator! () const // never throws diff --git a/src/gnc/main.cpp b/src/gnc/main.cpp index a0c4a1f305..1b555a5fd5 100644 --- a/src/gnc/main.cpp +++ b/src/gnc/main.cpp @@ -1,7 +1,8 @@ /* - * gnucash-bin.c -- The program entry point for GnuCash + * main.cpp -- The program entry point for cutecash * * Copyright (C) 2006 Chris Shoemaker + * Copyright (C) 2010 Christian Stimming * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as diff --git a/src/gnc/mainwindow.cpp b/src/gnc/mainwindow.cpp index 850b410891..fc20bd42b4 100644 --- a/src/gnc/mainwindow.cpp +++ b/src/gnc/mainwindow.cpp @@ -1,3 +1,25 @@ +/* + * mainwindow.cpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #include #include #include diff --git a/src/gnc/mainwindow.hpp b/src/gnc/mainwindow.hpp index 73fab7034e..d11f6ff9a9 100644 --- a/src/gnc/mainwindow.hpp +++ b/src/gnc/mainwindow.hpp @@ -1,3 +1,25 @@ +/* + * mainwindow.hpp + * Copyright (C) 2010 Christian Stimming + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of + * the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, contact: + * + * Free Software Foundation Voice: +1-617-542-5942 + * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 + * Boston, MA 02110-1301, USA gnu@gnu.org + */ + #ifndef MAINWINDOW_H #define MAINWINDOW_H