• R/O
  • HTTP
  • SSH
  • HTTPS

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

An Objective-C wrapper for Mac OS X’s FSEvents C API.


コミットメタ情報

リビジョン1ce48c1b0fee386be470099cbb704391e468ae12 (tree)
日時2010-04-10 10:29:21
作者Aron Cedercrantz <aron@cede...>
コミッターAron Cedercrantz

ログメッセージ

Added didVolumeMount property to CDEvent class.

変更サマリ

差分

--- a/CDEvent.h
+++ b/CDEvent.h
@@ -289,6 +289,37 @@ typedef FSEventStreamEventFlags CDEventFlags;
289289 */
290290 @property (readonly) BOOL isRootChanged;
291291
292+/**
293+ * Denotes a special event sent when a volume is mounted underneath one of the URLs being watched.
294+ *
295+ * Denotes a special event sent when a volume is mounted underneath one of the
296+ * URLs being watched. The URL in the event is the URL to the newly-mounted
297+ * volume. You will receive one of these notifications for every volume mount
298+ * event inside the kernel (independent of DiskArbitration). Beware that a
299+ * newly-mounted volume could contain an arbitrarily large directory hierarchy.
300+ * Avoid pitfalls like triggering a recursive scan of a non-local filesystem,
301+ * which you can detect by checking for the absence of the
302+ * <code>MNT_LOCAL</code> flag in the <code>f_flags</code> returned by statfs().
303+ * Also be aware of the <code>MNT_DONTBROWSE</code> flag that is set for volumes
304+ * which should not be displayed by user interface elements.
305+ *
306+ * @return <code>YES</code> if a volumen is mounted underneath one of the URLs being watched, otherwise <code>NO</code>
307+ *
308+ * @see kFSEventStreamEventFlagMount
309+ * @see flags
310+ * @see isGenericChange
311+ * @see mustRescanSubDirectories
312+ * @see isUserDropped
313+ * @see isKernelDropped
314+ * @see isEventIdsWrapped
315+ * @see isHistoryDone
316+ * @see isRootChanged
317+ * @see didVolumeUnmount
318+ *
319+ * @since head
320+ */
321+@property (readonly) BOOL didVolumeMount;
322+
292323 #pragma mark Class object creators
293324
294325 /**