GithubHelp home page GithubHelp logo

Comments (8)

abbeycode avatar abbeycode commented on August 19, 2024

In order to help design the API for this request, can you please provide some example use cases for this feature?

from unrarkit.

gerchicov-bp avatar gerchicov-bp commented on August 19, 2024

https://github.com/fishman/rar_expander/blob/master/RarExpander.mm
It handles UCM_CHANGEVOLUME. I can't find an info what does this code do but my project uses this event too. But anyways I could copy it "as is" because UnrarKit doesn't handle this event at all

from unrarkit.

abbeycode avatar abbeycode commented on August 19, 2024

Thanks, that link's helpful, but I'd still like to know how you plan to use the feature. Why is that event useful to you?

from unrarkit.

gerchicov-bp avatar gerchicov-bp commented on August 19, 2024

Sorry but I can't post my code. The only thing I can say is it handles something like error and in some cases returns -1 (failure) but the default implementation (including UnrarKit) always returns 0 even doesn't allow to handle this event without editing of the library's sources

from unrarkit.

abbeycode avatar abbeycode commented on August 19, 2024

I'm not asking you to post code, I only mean why do you need this feature? Why is the UCM_CHANGEVOLUME event important to you? I'm looking for an explanation, not code.

As an example, for your other feature request, the answer could be "Because I'd like to show users of my app how much space a file will take up, so they can decide whether or not to extract it". I didn't ask for a use case for that feature, because I could picture use cases on my own. I don't currently see what you would use that callback for, so I'm asking you to help me understand.

from unrarkit.

abbeycode avatar abbeycode commented on August 19, 2024

@gerchicov-bp I've addressed your other feature request. If you're able to help me understand this request better, I can include this along with it on the next release.

from unrarkit.

gerchicov-bp avatar gerchicov-bp commented on August 19, 2024

anyways I've already created a block which is called inside this static callback method but this block is defined as public and I can always override/redefine it.

from unrarkit.

abbeycode avatar abbeycode commented on August 19, 2024

Ok, feel free to submit a pull request to share back your contribution. I'm going to close this now - let me know if there's anything else I can do to help.

from unrarkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.