24#ifndef NCPkgPopupDiskspace_h
25#define NCPkgPopupDiskspace_h
32#include <yui/ncurses/NCPopup.h>
33#include <yui/ncurses/NCLabel.h>
38typedef zypp::DiskUsageCounter::MountPoint ZyppPartitionDu;
39typedef zypp::DiskUsageCounter::MountPointSet ZyppDuSet;
40typedef zypp::DiskUsageCounter::MountPointSet::iterator ZyppDuSetIterator;
123 void logSettings()
const;
148 NCTable * partitions;
149 NCPushButton * okButton;
154 virtual bool postAgain();
156 virtual NCursesEvent wHandleInput( wint_t ch );
163 void createLayout( std::string headline );
166 NCTable *Partitions() {
return partitions; }
168 virtual int preferredWidth();
169 virtual int preferredHeight();
188 ZyppDuSet testDiskUsage;
190 std::string usedPercent(
const FSize &used,
const FSize &total );
210 void fillPartitionTable();
212 std::string checkDiskSpace();
214 void setDiskSpace( wint_t key );
216 void checkDiskSpaceRange();
218 void showInfoPopup( std::string headline );
220 void checkRemainingDiskSpace(
const ZyppPartitionDu & partition );
222 FSize calculateDiff();
Definition NCPkgPopupDiskspace.h:180
Definition NCPkgPopupDiskspace.h:76
void enterProximity()
Definition NCPkgPopupDiskspace.cc:608
void warningPostedNotify()
Definition NCPkgPopupDiskspace.cc:616
void enterRange()
Definition NCPkgPopupDiskspace.cc:600
void clear()
Definition NCPkgPopupDiskspace.cc:582
NCPkgWarningRangeNotifier()
Definition NCPkgPopupDiskspace.cc:575
bool needWarning() const
Definition NCPkgPopupDiskspace.cc:637
bool leavingProximity() const
Definition NCPkgPopupDiskspace.cc:630
void clearHistory()
Definition NCPkgPopupDiskspace.cc:591
bool inRange() const
Definition NCPkgPopupDiskspace.cc:623