mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 14:40:28 +00:00
f5c958ad73
This should wrap gettext nicely and replace the "_()" macros we use in C code. Also added comments to the top of all the new files. Suggested-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
30 lines
489 B
C++
30 lines
489 B
C++
/*
|
|
* addcylinderdialog.h
|
|
*
|
|
* header file for the add cylinder dialog of Subsurface
|
|
*
|
|
*/
|
|
#ifndef ADDCYLINDERDIALOG_H
|
|
#define ADDCYLINDERDIALOG_H
|
|
|
|
#include <QDialog>
|
|
#include "../dive.h"
|
|
|
|
namespace Ui{
|
|
class AddCylinderDialog;
|
|
}
|
|
|
|
class AddCylinderDialog : public QDialog{
|
|
Q_OBJECT
|
|
public:
|
|
explicit AddCylinderDialog(QWidget* parent = 0);
|
|
void setCylinder(cylinder_t *cylinder);
|
|
void updateCylinder();
|
|
|
|
private:
|
|
Ui::AddCylinderDialog *ui;
|
|
cylinder_t *currentCylinder;
|
|
};
|
|
|
|
|
|
#endif
|