X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=cli%2Ftrim_callset.hpp;h=fb2c92a4747b3bb14af915e14b7b8d754fdc1e4e;hb=22dc6014ecb09547929c45a8fb82820740230589;hp=667ec5e98c081c3745f809d07f320384e82b5477;hpb=166e4c0065829d26b2d0272335f983162d9ab4df;p=apitrace diff --git a/cli/trim_callset.hpp b/cli/trim_callset.hpp index 667ec5e..fb2c92a 100644 --- a/cli/trim_callset.hpp +++ b/cli/trim_callset.hpp @@ -40,9 +40,6 @@ namespace trim { * * Simplifications: * - * * This supports only the addition of a single call number, not - * the addition of a range. - * * * There is no support here for the 'step' and 'freq' features * supported by trace::CallSet. * @@ -76,7 +73,7 @@ public: int level; CallRange **next; - CallRange(CallNo call_no, int level); + CallRange(CallNo first, CallNo last, int level); bool contains(CallNo call_no); }; @@ -88,6 +85,8 @@ public: CallSet(); + void add(CallNo first, CallNo last); + void add(CallNo call_no); bool contains(CallNo call_no);