Skip to content

Create file watching subsystem #264

Open
@TheJJ

Description

@TheJJ

Currently, the inotify support is pretty proof-of-concept only. It's directly integrated into the assetmanager, which should be abstracted in the future.

I'm thinking of creating a libopenage/watch/ subsystem which provides some sane api for registering a watch on a folder, file, etc with requested events.

When the watched events happen, generic callback functions should be called so we can use the watches for any file watching makes sense.

In the background, the "sane api" calls the plattform-specific kernel api, but openage can use just one uniform interface. This way we can support OS X, BSD, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementEnhancement of an existing componentjust do itYou can start working on this, there should be nothing left to discusslang: c++Done in C++ code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions