mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
3d2258b3e6
These new classes encasulate file-descriptor watchers, basic file descriptors, and socket connections. Each class contains callback methods for it's implemented functionality. Users should inherit from the classes and overload the callback with their own code.
24 lines
604 B
Python
24 lines
604 B
Python
# -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
|
|
# vim: set filetype=python:
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
EXPORTS.mozilla.ipc += [
|
|
'UnixFdWatcher.h',
|
|
'UnixFileWatcher.h',
|
|
'UnixSocketWatcher.h'
|
|
]
|
|
|
|
SOURCES += [
|
|
'UnixFdWatcher.cpp',
|
|
'UnixFileWatcher.cpp',
|
|
'UnixSocketWatcher.cpp'
|
|
]
|
|
|
|
FAIL_ON_WARNINGS = True
|
|
|
|
include('/ipc/chromium/chromium-config.mozbuild')
|
|
|
|
FINAL_LIBRARY = 'xul'
|