Changeset 10644


Ignore:
Timestamp:
May 10, 2011, 2:07:33 PM (8 years ago)
Author:
tbretz
Message:
Moved some Dim code to new Dim.h/Dim.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/MainWindow.cc

    r10641 r10644  
    55#include <QTimer>
    66
    7 #include "dic.hxx"
     7#include "src/Dim.h"
    88
    99#include "DockWindow.h"
     
    1212
    1313using namespace std;
    14 
    15 namespace Dim
    16 {
    17 static bool SendCommand(const char *command)
    18 {
    19     return DimClient::sendCommand(command, NULL, 0);
    20 }
    21 
    22 template<typename T>
    23 static bool SendCommand(const char *command, const T &t)
    24 {
    25     return DimClient::sendCommand(command, (void*)&t, sizeof(t));
    26 }
    27 }
    2814
    2915MainWindow::MainWindow(QWidget *p) : QMainWindow(p)
Note: See TracChangeset for help on using the changeset viewer.