diff options
author | markus <markus@FreeBSD.org> | 2004-03-19 01:41:41 +0800 |
---|---|---|
committer | markus <markus@FreeBSD.org> | 2004-03-19 01:41:41 +0800 |
commit | 111f1d09c12cc562b2c00ac81b5223cd24b3d6a1 (patch) | |
tree | a1bbeb607c7cf50ffd757b026bc2c63bd6cf4786 /sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h | |
parent | 2fc6e95df70605f51202792805b4926cfd7fbd6b (diff) | |
download | freebsd-ports-graphics-111f1d09c12cc562b2c00ac81b5223cd24b3d6a1.tar.gz freebsd-ports-graphics-111f1d09c12cc562b2c00ac81b5223cd24b3d6a1.tar.zst freebsd-ports-graphics-111f1d09c12cc562b2c00ac81b5223cd24b3d6a1.zip |
- Update to 0.11.6
- remove trailing ^M in pkg-plist
PR: ports/64201
Submitted by: Heiner Eichmann <h.eichmann@gmx.de>
Approved by: arved (mentor)
Diffstat (limited to 'sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h')
-rw-r--r-- | sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h b/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h new file mode 100644 index 00000000000..8d285e3ec03 --- /dev/null +++ b/sysutils/k3b-kde4/files/patch-src-device-k3bdevicemanager.h @@ -0,0 +1,43 @@ +--- src/device/k3bdevicemanager.h.orig Wed Jan 21 11:20:11 2004 ++++ src/device/k3bdevicemanager.h Fri Feb 13 21:03:38 2004 +@@ -24,6 +24,10 @@ + #include <qptrlist.h> + + #include <kdebug.h> ++#ifdef __FreeBSD__ ++#include <qdatetime.h> ++#include <qvaluelist.h> ++#endif + + class KProcess; + class KConfig; +@@ -112,6 +116,29 @@ + + class Private; + Private* d; ++#ifdef __FreeBSD__ ++ void bsd_scan_devices(bool sudo); ++ QDateTime m_lastRefresh; ++ class BSDDevice ++ { ++ public: ++ BSDDevice() : m_bus(-1), m_target(-1), m_lun(-1) {} ++ BSDDevice(const QString & name, const QString & passDevice, const QString & vendor, ++ const QString & product, const QString & revision, int bus, int target, int lun) : ++ m_name(name), m_passDevice(passDevice), m_vendor(vendor), m_product(product), ++ m_revision(revision), m_bus(bus), m_target(target), m_lun(lun) {} ++ BSDDevice(const BSDDevice & src) : ++ m_name(src.m_name), m_passDevice(src.m_passDevice), m_vendor(src.m_vendor), m_product(src.m_product), ++ m_revision(src.m_revision), m_bus(src.m_bus), m_target(src.m_target), m_lun(src.m_lun) {} ++ const BSDDevice & operator= (const BSDDevice & src) ++ { m_name = src.m_name; m_passDevice = src.m_passDevice; m_vendor = src.m_vendor; ++ m_product = src.m_product; m_revision = src.m_revision; m_bus = src.m_bus; m_target = src.m_target; ++ m_lun = src.m_lun; return *this; } ++ QString m_name, m_passDevice, m_vendor, m_product, m_revision; ++ int m_bus, m_target, m_lun; ++ }; ++ QValueList<BSDDevice> m_devices; ++#endif + }; + } + |