job: add forward declarations
This commit is contained in:
parent
2508c5cc71
commit
e120540bb9
@ -275,6 +275,7 @@ list (
|
|||||||
io.cpp
|
io.cpp
|
||||||
io.hpp
|
io.hpp
|
||||||
iterator.hpp
|
iterator.hpp
|
||||||
|
job/fwd.hpp
|
||||||
job/event.hpp
|
job/event.hpp
|
||||||
job/flag.hpp
|
job/flag.hpp
|
||||||
job/monitor.cpp
|
job/monitor.cpp
|
||||||
|
24
job/fwd.hpp
Normal file
24
job/fwd.hpp
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
/*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*
|
||||||
|
* Copyright 2018 Danny Robson <danny@nerdcruft.net>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef CRUFT_UTIL_JOB_FWD_HPP
|
||||||
|
#define CRUFT_UTIL_JOB_FWD_HPP
|
||||||
|
|
||||||
|
namespace util::job {
|
||||||
|
class queue;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
@ -11,7 +11,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*
|
*
|
||||||
* Copyright 2017 Danny Robson <danny@nerdcruft.net>
|
* Copyright 2017-2018 Danny Robson <danny@nerdcruft.net>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CRUFT_UTIL_JOB_QUEUE_HPP
|
#ifndef CRUFT_UTIL_JOB_QUEUE_HPP
|
||||||
|
Loading…
Reference in New Issue
Block a user