Changeset 31 in pacpusframework for trunk/src/FileLib


Ignore:
Timestamp:
01/08/13 18:10:10 (11 years ago)
Author:
sgosseli
Message:

Huge commit: use the new includes style in all the files, add the license header in all the headers, and in some cpp.

Location:
trunk/src/FileLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/FileLib/src/DbiteException.cpp

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
    510
    6 #include "kernel/DbiteException.h"
     11#include <Pacpus/kernel/DbiteException.h>
    712
    813using namespace pacpus;
  • trunk/src/FileLib/src/DbiteFile.cpp

    r3 r31  
    1 // Copyright Marek Kurdej 2010 - 2012.
    2 // Distributed under the UTC Heudiasyc Pacpus License, Version 1.0.
    3 // See accompanying file LICENSE_1_0.txt or copy at
    4 // http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
    5 
    6 #include "kernel/DbiteFile.h"
     1/**
     2 *
     3 * Distributed under the UTC Heudiascy Pacpus License, Version 1.0.
     4 * Copyright (c) UTC Heudiasyc 2010 - 2013. All rights reserved.
     5 *
     6 * See the LICENSE file for more information or a copy at:
     7 *   http://www.hds.utc.fr/~kurdejma/LICENSE_1_0.txt
     8 *
     9 */
     10
     11#include <Pacpus/kernel/DbiteFile.h>
     12#include <Pacpus/kernel/DbiteException.h>
     13#include <Pacpus/kernel/DbiteFileTypes.h>
     14#include <Pacpus/kernel/Log.h>
    715
    816#include <cassert>
     
    1220#include <sstream>
    1321
    14 #include "kernel/DbiteException.h"
    15 #include "kernel/DbiteFileTypes.h"
    16 #include "kernel/Log.h"
    17 
    18 namespace pacpus {
    19 
     22using namespace pacpus;
    2023using namespace std;
    2124
     
    2528DECLARE_STATIC_LOGGER("pacpus.core.DbiteFile");
    2629
    27 VariableDataSizeTag VariableDataSize;
    28 ReadModeTag ReadMode;
    29 WriteModeTag WriteMode;
    30 DiagnoseModeTag DiagnoseMode;
     30namespace pacpus
     31{
     32  VariableDataSizeTag VariableDataSize;
     33  ReadModeTag ReadMode;
     34  WriteModeTag WriteMode;
     35  DiagnoseModeTag DiagnoseMode;
     36}
    3137
    3238bool doesFileExist(const string & path);
     
    797803    return fileExist;
    798804}
    799 
    800 } // namespace pacpus
Note: See TracChangeset for help on using the changeset viewer.